85 lines
2 KiB
SQL
85 lines
2 KiB
SQL
--
|
|
-- PostgreSQL database dump
|
|
--
|
|
|
|
-- Dumped from database version 17.5 (Debian 17.5-1.pgdg120+1)
|
|
-- Dumped by pg_dump version 17.5
|
|
|
|
SET statement_timeout = 0;
|
|
SET lock_timeout = 0;
|
|
SET idle_in_transaction_session_timeout = 0;
|
|
SET transaction_timeout = 0;
|
|
SET client_encoding = 'UTF8';
|
|
SET standard_conforming_strings = on;
|
|
SELECT pg_catalog.set_config('search_path', '', false);
|
|
SET check_function_bodies = false;
|
|
SET xmloption = content;
|
|
SET client_min_messages = warning;
|
|
SET row_security = off;
|
|
|
|
SET default_tablespace = '';
|
|
|
|
SET default_table_access_method = heap;
|
|
|
|
--
|
|
-- Name: auth_user; Type: TABLE; Schema: public; Owner: mindshub
|
|
--
|
|
|
|
CREATE TABLE public.auth_user (
|
|
id integer NOT NULL,
|
|
password character varying(128) NOT NULL,
|
|
last_login timestamp with time zone,
|
|
is_superuser boolean NOT NULL,
|
|
username character varying(150) NOT NULL,
|
|
first_name character varying(150) NOT NULL,
|
|
last_name character varying(150) NOT NULL,
|
|
email character varying(254) NOT NULL,
|
|
is_staff boolean NOT NULL,
|
|
is_active boolean NOT NULL,
|
|
date_joined timestamp with time zone NOT NULL
|
|
);
|
|
|
|
|
|
ALTER TABLE public.auth_user OWNER TO mindshub;
|
|
|
|
--
|
|
-- Name: auth_user_id_seq; Type: SEQUENCE; Schema: public; Owner: mindshub
|
|
--
|
|
|
|
ALTER TABLE public.auth_user ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY (
|
|
SEQUENCE NAME public.auth_user_id_seq
|
|
START WITH 1
|
|
INCREMENT BY 1
|
|
NO MINVALUE
|
|
NO MAXVALUE
|
|
CACHE 1
|
|
);
|
|
|
|
|
|
--
|
|
-- Name: auth_user auth_user_pkey; Type: CONSTRAINT; Schema: public; Owner: mindshub
|
|
--
|
|
|
|
ALTER TABLE ONLY public.auth_user
|
|
ADD CONSTRAINT auth_user_pkey PRIMARY KEY (id);
|
|
|
|
|
|
--
|
|
-- Name: auth_user auth_user_username_key; Type: CONSTRAINT; Schema: public; Owner: mindshub
|
|
--
|
|
|
|
ALTER TABLE ONLY public.auth_user
|
|
ADD CONSTRAINT auth_user_username_key UNIQUE (username);
|
|
|
|
|
|
--
|
|
-- Name: auth_user_username_6821ab7c_like; Type: INDEX; Schema: public; Owner: mindshub
|
|
--
|
|
|
|
CREATE INDEX auth_user_username_6821ab7c_like ON public.auth_user USING btree (username varchar_pattern_ops);
|
|
|
|
|
|
--
|
|
-- PostgreSQL database dump complete
|
|
--
|
|
|