text: --
  -- PostgreSQL database dump
  --
  
  -- Dumped from database version 9.6.16
  -- Dumped by pg_dump version 13.0 (Debian 13.0-1.pgdg100+1)
  
  SET statement_timeout = 0;
  SET lock_timeout = 0;
  SET idle_in_transaction_session_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 = '';
  
  --
  -- Name: auth_group; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.auth_group (
      id integer NOT NULL,
      name character varying(150) NOT NULL
  );
  
  
  ALTER TABLE public.auth_group OWNER TO dbadmin;
  
  --
  -- Name: auth_group_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_group_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_group_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_group_id_seq OWNED BY public.auth_group.id;
  
  
  --
  -- Name: auth_group_permissions; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.auth_group_permissions (
      id integer NOT NULL,
      group_id integer NOT NULL,
      permission_id integer NOT NULL
  );
  
  
  ALTER TABLE public.auth_group_permissions OWNER TO dbadmin;
  
  --
  -- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_group_permissions_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_group_permissions_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_group_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_group_permissions_id_seq OWNED BY public.auth_group_permissions.id;
  
  
  --
  -- Name: auth_permission; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.auth_permission (
      id integer NOT NULL,
      name character varying(255) NOT NULL,
      content_type_id integer NOT NULL,
      codename character varying(100) NOT NULL
  );
  
  
  ALTER TABLE public.auth_permission OWNER TO dbadmin;
  
  --
  -- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_permission_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_permission_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_permission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_permission_id_seq OWNED BY public.auth_permission.id;
  
  
  --
  -- Name: auth_user; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  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 dbadmin;
  
  --
  -- Name: auth_user_groups; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.auth_user_groups (
      id integer NOT NULL,
      user_id integer NOT NULL,
      group_id integer NOT NULL
  );
  
  
  ALTER TABLE public.auth_user_groups OWNER TO dbadmin;
  
  --
  -- Name: auth_user_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_user_groups_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_user_groups_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_user_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_user_groups_id_seq OWNED BY public.auth_user_groups.id;
  
  
  --
  -- Name: auth_user_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_user_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_user_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_user_id_seq OWNED BY public.auth_user.id;
  
  
  --
  -- Name: auth_user_user_permissions; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.auth_user_user_permissions (
      id integer NOT NULL,
      user_id integer NOT NULL,
      permission_id integer NOT NULL
  );
  
  
  ALTER TABLE public.auth_user_user_permissions OWNER TO dbadmin;
  
  --
  -- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.auth_user_user_permissions_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.auth_user_user_permissions_id_seq OWNER TO dbadmin;
  
  --
  -- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.auth_user_user_permissions_id_seq OWNED BY public.auth_user_user_permissions.id;
  
  
  --
  -- Name: django_admin_log; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.django_admin_log (
      id integer NOT NULL,
      action_time timestamp with time zone NOT NULL,
      object_id text,
      object_repr character varying(200) NOT NULL,
      action_flag smallint NOT NULL,
      change_message text NOT NULL,
      content_type_id integer,
      user_id integer NOT NULL,
      CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
  );
  
  
  ALTER TABLE public.django_admin_log OWNER TO dbadmin;
  
  --
  -- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.django_admin_log_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.django_admin_log_id_seq OWNER TO dbadmin;
  
  --
  -- Name: django_admin_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.django_admin_log_id_seq OWNED BY public.django_admin_log.id;
  
  
  --
  -- Name: django_content_type; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.django_content_type (
      id integer NOT NULL,
      app_label character varying(100) NOT NULL,
      model character varying(100) NOT NULL
  );
  
  
  ALTER TABLE public.django_content_type OWNER TO dbadmin;
  
  --
  -- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.django_content_type_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.django_content_type_id_seq OWNER TO dbadmin;
  
  --
  -- Name: django_content_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.django_content_type_id_seq OWNED BY public.django_content_type.id;
  
  
  --
  -- Name: django_migrations; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.django_migrations (
      id integer NOT NULL,
      app character varying(255) NOT NULL,
      name character varying(255) NOT NULL,
      applied timestamp with time zone NOT NULL
  );
  
  
  ALTER TABLE public.django_migrations OWNER TO dbadmin;
  
  --
  -- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.django_migrations_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.django_migrations_id_seq OWNER TO dbadmin;
  
  --
  -- Name: django_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.django_migrations_id_seq OWNED BY public.django_migrations.id;
  
  
  --
  -- Name: django_session; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.django_session (
      session_key character varying(40) NOT NULL,
      session_data text NOT NULL,
      expire_date timestamp with time zone NOT NULL
  );
  
  
  ALTER TABLE public.django_session OWNER TO dbadmin;
  
  --
  -- Name: polls_choice; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.polls_choice (
      id integer NOT NULL,
      choice_text character varying(200) NOT NULL,
      votes integer NOT NULL,
      question_id integer NOT NULL
  );
  
  
  ALTER TABLE public.polls_choice OWNER TO dbadmin;
  
  --
  -- Name: polls_choice_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.polls_choice_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.polls_choice_id_seq OWNER TO dbadmin;
  
  --
  -- Name: polls_choice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.polls_choice_id_seq OWNED BY public.polls_choice.id;
  
  
  --
  -- Name: polls_question; Type: TABLE; Schema: public; Owner: dbadmin
  --
  
  CREATE TABLE public.polls_question (
      id integer NOT NULL,
      question_text character varying(200) NOT NULL,
      pub_date timestamp with time zone NOT NULL
  );
  
  
  ALTER TABLE public.polls_question OWNER TO dbadmin;
  
  --
  -- Name: polls_question_id_seq; Type: SEQUENCE; Schema: public; Owner: dbadmin
  --
  
  CREATE SEQUENCE public.polls_question_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE public.polls_question_id_seq OWNER TO dbadmin;
  
  --
  -- Name: polls_question_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dbadmin
  --
  
  ALTER SEQUENCE public.polls_question_id_seq OWNED BY public.polls_question.id;
  
  
  --
  -- Name: auth_group id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group ALTER COLUMN id SET DEFAULT nextval('public.auth_group_id_seq'::regclass);
  
  
  --
  -- Name: auth_group_permissions id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group_permissions ALTER COLUMN id SET DEFAULT nextval('public.auth_group_permissions_id_seq'::regclass);
  
  
  --
  -- Name: auth_permission id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_permission ALTER COLUMN id SET DEFAULT nextval('public.auth_permission_id_seq'::regclass);
  
  
  --
  -- Name: auth_user id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user ALTER COLUMN id SET DEFAULT nextval('public.auth_user_id_seq'::regclass);
  
  
  --
  -- Name: auth_user_groups id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_groups ALTER COLUMN id SET DEFAULT nextval('public.auth_user_groups_id_seq'::regclass);
  
  
  --
  -- Name: auth_user_user_permissions id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_user_permissions ALTER COLUMN id SET DEFAULT nextval('public.auth_user_user_permissions_id_seq'::regclass);
  
  
  --
  -- Name: django_admin_log id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_admin_log ALTER COLUMN id SET DEFAULT nextval('public.django_admin_log_id_seq'::regclass);
  
  
  --
  -- Name: django_content_type id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_content_type ALTER COLUMN id SET DEFAULT nextval('public.django_content_type_id_seq'::regclass);
  
  
  --
  -- Name: django_migrations id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_migrations ALTER COLUMN id SET DEFAULT nextval('public.django_migrations_id_seq'::regclass);
  
  
  --
  -- Name: polls_choice id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.polls_choice ALTER COLUMN id SET DEFAULT nextval('public.polls_choice_id_seq'::regclass);
  
  
  --
  -- Name: polls_question id; Type: DEFAULT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.polls_question ALTER COLUMN id SET DEFAULT nextval('public.polls_question_id_seq'::regclass);
  
  
  --
  -- Data for Name: auth_group; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_group (id, name) FROM stdin;
  \.
  
  
  --
  -- Data for Name: auth_group_permissions; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_group_permissions (id, group_id, permission_id) FROM stdin;
  \.
  
  
  --
  -- Data for Name: auth_permission; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_permission (id, name, content_type_id, codename) FROM stdin;
  1	Can add choice	1	add_choice
  2	Can change choice	1	change_choice
  3	Can delete choice	1	delete_choice
  4	Can view choice	1	view_choice
  5	Can add question	2	add_question
  6	Can change question	2	change_question
  7	Can delete question	2	delete_question
  8	Can view question	2	view_question
  9	Can add log entry	3	add_logentry
  10	Can change log entry	3	change_logentry
  11	Can delete log entry	3	delete_logentry
  12	Can view log entry	3	view_logentry
  13	Can add permission	4	add_permission
  14	Can change permission	4	change_permission
  15	Can delete permission	4	delete_permission
  16	Can view permission	4	view_permission
  17	Can add group	5	add_group
  18	Can change group	5	change_group
  19	Can delete group	5	delete_group
  20	Can view group	5	view_group
  21	Can add user	6	add_user
  22	Can change user	6	change_user
  23	Can delete user	6	delete_user
  24	Can view user	6	view_user
  25	Can add content type	7	add_contenttype
  26	Can change content type	7	change_contenttype
  27	Can delete content type	7	delete_contenttype
  28	Can view content type	7	view_contenttype
  29	Can add session	8	add_session
  30	Can change session	8	change_session
  31	Can delete session	8	delete_session
  32	Can view session	8	view_session
  \.
  
  
  --
  -- Data for Name: auth_user; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) FROM stdin;
  1	pbkdf2_sha256$216000$0Q6orBClfez6$1SLE08wBkgK5tAWIxRDyVO1vJWWaNA98sKR7IAuagwY=	2021-03-19 11:39:41.436144+00	t	dbadmin			vijay.jethani@microsoft.com	t	t	2021-03-19 10:53:41.821533+00
  \.
  
  
  --
  -- Data for Name: auth_user_groups; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_user_groups (id, user_id, group_id) FROM stdin;
  \.
  
  
  --
  -- Data for Name: auth_user_user_permissions; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.auth_user_user_permissions (id, user_id, permission_id) FROM stdin;
  \.
  
  
  --
  -- Data for Name: django_admin_log; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) FROM stdin;
  1	2021-03-19 10:55:35.34377+00	1	How do you find this Postgres Lab	1	[{"added": {}}, {"added": {"name": "choice", "object": "Good"}}, {"added": {"name": "choice", "object": "Excellent"}}, {"added": {"name": "choice", "object": "Ok"}}]	2	1
  \.
  
  
  --
  -- Data for Name: django_content_type; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.django_content_type (id, app_label, model) FROM stdin;
  1	polls	choice
  2	polls	question
  3	admin	logentry
  4	auth	permission
  5	auth	group
  6	auth	user
  7	contenttypes	contenttype
  8	sessions	session
  \.
  
  
  --
  -- Data for Name: django_migrations; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.django_migrations (id, app, name, applied) FROM stdin;
  1	contenttypes	0001_initial	2021-03-19 10:06:38.044565+00
  2	auth	0001_initial	2021-03-19 10:06:40.03782+00
  3	admin	0001_initial	2021-03-19 10:06:43.218647+00
  4	admin	0002_logentry_remove_auto_add	2021-03-19 10:06:43.824132+00
  5	admin	0003_logentry_add_action_flag_choices	2021-03-19 10:06:43.852944+00
  6	contenttypes	0002_remove_content_type_name	2021-03-19 10:06:44.035515+00
  7	auth	0002_alter_permission_name_max_length	2021-03-19 10:06:44.067879+00
  8	auth	0003_alter_user_email_max_length	2021-03-19 10:06:44.100326+00
  9	auth	0004_alter_user_username_opts	2021-03-19 10:06:44.138655+00
  10	auth	0005_alter_user_last_login_null	2021-03-19 10:06:44.184068+00
  11	auth	0006_require_contenttypes_0002	2021-03-19 10:06:44.19997+00
  12	auth	0007_alter_validators_add_error_messages	2021-03-19 10:06:44.224078+00
  13	auth	0008_alter_user_username_max_length	2021-03-19 10:06:44.381579+00
  14	auth	0009_alter_user_last_name_max_length	2021-03-19 10:06:44.421147+00
  15	auth	0010_alter_group_name_max_length	2021-03-19 10:06:44.459595+00
  16	auth	0011_update_proxy_permissions	2021-03-19 10:06:44.481127+00
  17	auth	0012_alter_user_first_name_max_length	2021-03-19 10:06:44.507436+00
  18	polls	0001_initial	2021-03-19 10:06:44.898576+00
  19	sessions	0001_initial	2021-03-19 10:06:45.344087+00
  \.
  
  
  --
  -- Data for Name: django_session; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.django_session (session_key, session_data, expire_date) FROM stdin;
  \.
  
  
  --
  -- Data for Name: polls_choice; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.polls_choice (id, choice_text, votes, question_id) FROM stdin;
  3	Ok	3	1
  1	Good	3	1
  2	Excellent	6	1
  \.
  
  
  --
  -- Data for Name: polls_question; Type: TABLE DATA; Schema: public; Owner: dbadmin
  --
  
  COPY public.polls_question (id, question_text, pub_date) FROM stdin;
  1	How do you find this Postgres Lab	2021-03-19 10:55:21+00
  \.
  
  
  --
  -- Name: auth_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_group_id_seq', 1, false);
  
  
  --
  -- Name: auth_group_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_group_permissions_id_seq', 1, false);
  
  
  --
  -- Name: auth_permission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_permission_id_seq', 32, true);
  
  
  --
  -- Name: auth_user_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_user_groups_id_seq', 1, false);
  
  
  --
  -- Name: auth_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_user_id_seq', 1, true);
  
  
  --
  -- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.auth_user_user_permissions_id_seq', 1, false);
  
  
  --
  -- Name: django_admin_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.django_admin_log_id_seq', 1, true);
  
  
  --
  -- Name: django_content_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.django_content_type_id_seq', 8, true);
  
  
  --
  -- Name: django_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.django_migrations_id_seq', 19, true);
  
  
  --
  -- Name: polls_choice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.polls_choice_id_seq', 3, true);
  
  
  --
  -- Name: polls_question_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dbadmin
  --
  
  SELECT pg_catalog.setval('public.polls_question_id_seq', 1, true);
  
  
  --
  -- Name: auth_group auth_group_name_key; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group
      ADD CONSTRAINT auth_group_name_key UNIQUE (name);
  
  
  --
  -- Name: auth_group_permissions auth_group_permissions_group_id_permission_id_0cd325b0_uniq; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group_permissions
      ADD CONSTRAINT auth_group_permissions_group_id_permission_id_0cd325b0_uniq UNIQUE (group_id, permission_id);
  
  
  --
  -- Name: auth_group_permissions auth_group_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group_permissions
      ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_group auth_group_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group
      ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_permission auth_permission_content_type_id_codename_01ab375a_uniq; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_permission
      ADD CONSTRAINT auth_permission_content_type_id_codename_01ab375a_uniq UNIQUE (content_type_id, codename);
  
  
  --
  -- Name: auth_permission auth_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_permission
      ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_user_groups auth_user_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_groups
      ADD CONSTRAINT auth_user_groups_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_user_groups auth_user_groups_user_id_group_id_94350c0c_uniq; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_groups
      ADD CONSTRAINT auth_user_groups_user_id_group_id_94350c0c_uniq UNIQUE (user_id, group_id);
  
  
  --
  -- Name: auth_user auth_user_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user
      ADD CONSTRAINT auth_user_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_user_user_permissions auth_user_user_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_user_permissions
      ADD CONSTRAINT auth_user_user_permissions_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_user_user_permissions auth_user_user_permissions_user_id_permission_id_14a6b632_uniq; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_user_permissions
      ADD CONSTRAINT auth_user_user_permissions_user_id_permission_id_14a6b632_uniq UNIQUE (user_id, permission_id);
  
  
  --
  -- Name: auth_user auth_user_username_key; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user
      ADD CONSTRAINT auth_user_username_key UNIQUE (username);
  
  
  --
  -- Name: django_admin_log django_admin_log_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_admin_log
      ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: django_content_type django_content_type_app_label_model_76bd3d3b_uniq; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_content_type
      ADD CONSTRAINT django_content_type_app_label_model_76bd3d3b_uniq UNIQUE (app_label, model);
  
  
  --
  -- Name: django_content_type django_content_type_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_content_type
      ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: django_migrations django_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_migrations
      ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: django_session django_session_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_session
      ADD CONSTRAINT django_session_pkey PRIMARY KEY (session_key);
  
  
  --
  -- Name: polls_choice polls_choice_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.polls_choice
      ADD CONSTRAINT polls_choice_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: polls_question polls_question_pkey; Type: CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.polls_question
      ADD CONSTRAINT polls_question_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: auth_group_name_a6ea08ec_like; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_group_name_a6ea08ec_like ON public.auth_group USING btree (name varchar_pattern_ops);
  
  
  --
  -- Name: auth_group_permissions_group_id_b120cbf9; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_group_permissions_group_id_b120cbf9 ON public.auth_group_permissions USING btree (group_id);
  
  
  --
  -- Name: auth_group_permissions_permission_id_84c5c92e; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_group_permissions_permission_id_84c5c92e ON public.auth_group_permissions USING btree (permission_id);
  
  
  --
  -- Name: auth_permission_content_type_id_2f476e4b; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_permission_content_type_id_2f476e4b ON public.auth_permission USING btree (content_type_id);
  
  
  --
  -- Name: auth_user_groups_group_id_97559544; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_user_groups_group_id_97559544 ON public.auth_user_groups USING btree (group_id);
  
  
  --
  -- Name: auth_user_groups_user_id_6a12ed8b; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_user_groups_user_id_6a12ed8b ON public.auth_user_groups USING btree (user_id);
  
  
  --
  -- Name: auth_user_user_permissions_permission_id_1fbb5f2c; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_user_user_permissions_permission_id_1fbb5f2c ON public.auth_user_user_permissions USING btree (permission_id);
  
  
  --
  -- Name: auth_user_user_permissions_user_id_a95ead1b; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_user_user_permissions_user_id_a95ead1b ON public.auth_user_user_permissions USING btree (user_id);
  
  
  --
  -- Name: auth_user_username_6821ab7c_like; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX auth_user_username_6821ab7c_like ON public.auth_user USING btree (username varchar_pattern_ops);
  
  
  --
  -- Name: django_admin_log_content_type_id_c4bce8eb; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX django_admin_log_content_type_id_c4bce8eb ON public.django_admin_log USING btree (content_type_id);
  
  
  --
  -- Name: django_admin_log_user_id_c564eba6; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX django_admin_log_user_id_c564eba6 ON public.django_admin_log USING btree (user_id);
  
  
  --
  -- Name: django_session_expire_date_a5c62663; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX django_session_expire_date_a5c62663 ON public.django_session USING btree (expire_date);
  
  
  --
  -- Name: django_session_session_key_c0390e0f_like; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX django_session_session_key_c0390e0f_like ON public.django_session USING btree (session_key varchar_pattern_ops);
  
  
  --
  -- Name: polls_choice_question_id_c5b4b260; Type: INDEX; Schema: public; Owner: dbadmin
  --
  
  CREATE INDEX polls_choice_question_id_c5b4b260 ON public.polls_choice USING btree (question_id);
  
  
  --
  -- Name: auth_group_permissions auth_group_permissio_permission_id_84c5c92e_fk_auth_perm; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group_permissions
      ADD CONSTRAINT auth_group_permissio_permission_id_84c5c92e_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES public.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_group_permissions auth_group_permissions_group_id_b120cbf9_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_group_permissions
      ADD CONSTRAINT auth_group_permissions_group_id_b120cbf9_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES public.auth_group(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_permission auth_permission_content_type_id_2f476e4b_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_permission
      ADD CONSTRAINT auth_permission_content_type_id_2f476e4b_fk_django_co FOREIGN KEY (content_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_user_groups auth_user_groups_group_id_97559544_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_groups
      ADD CONSTRAINT auth_user_groups_group_id_97559544_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES public.auth_group(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_user_groups auth_user_groups_user_id_6a12ed8b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_groups
      ADD CONSTRAINT auth_user_groups_user_id_6a12ed8b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_user_user_permissions auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_user_permissions
      ADD CONSTRAINT auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES public.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: auth_user_user_permissions auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.auth_user_user_permissions
      ADD CONSTRAINT auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: django_admin_log django_admin_log_content_type_id_c4bce8eb_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_admin_log
      ADD CONSTRAINT django_admin_log_content_type_id_c4bce8eb_fk_django_co FOREIGN KEY (content_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: django_admin_log django_admin_log_user_id_c564eba6_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.django_admin_log
      ADD CONSTRAINT django_admin_log_user_id_c564eba6_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- Name: polls_choice polls_choice_question_id_c5b4b260_fk_polls_question_id; Type: FK CONSTRAINT; Schema: public; Owner: dbadmin
  --
  
  ALTER TABLE ONLY public.polls_choice
      ADD CONSTRAINT polls_choice_question_id_c5b4b260_fk_polls_question_id FOREIGN KEY (question_id) REFERENCES public.polls_question(id) DEFERRABLE INITIALLY DEFERRED;
  
  
  --
  -- PostgreSQL database dump complete
  --
  
  