Ticket #30028: django_test.sql

File django_test.sql, 37.9 KB (added by ksl, 6 years ago)

Test project postreSQL database dump

Line 
1--
2-- PostgreSQL database dump
3--
4
5-- Dumped from database version 9.6.10
6-- Dumped by pg_dump version 9.6.10
7
8-- Started on 2018-12-13 08:22:46 CET
9
10SET statement_timeout = 0;
11SET lock_timeout = 0;
12SET idle_in_transaction_session_timeout = 0;
13SET client_encoding = 'UTF8';
14SET standard_conforming_strings = on;
15SELECT pg_catalog.set_config('search_path', '', false);
16SET check_function_bodies = false;
17SET client_min_messages = warning;
18SET row_security = off;
19
20--
21-- TOC entry 7 (class 2615 OID 25453)
22-- Name: django_test; Type: SCHEMA; Schema: -; Owner: django_test
23--
24
25CREATE SCHEMA django_test;
26
27
28ALTER SCHEMA django_test OWNER TO django_test;
29
30--
31-- TOC entry 1 (class 3079 OID 12393)
32-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
33--
34
35CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
36
37
38--
39-- TOC entry 2293 (class 0 OID 0)
40-- Dependencies: 1
41-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
42--
43
44COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
45
46
47SET default_tablespace = '';
48
49SET default_with_oids = false;
50
51--
52-- TOC entry 192 (class 1259 OID 25485)
53-- Name: auth_group; Type: TABLE; Schema: django_test; Owner: django_test
54--
55
56CREATE TABLE django_test.auth_group (
57 id integer NOT NULL,
58 name character varying(80) NOT NULL
59);
60
61
62ALTER TABLE django_test.auth_group OWNER TO django_test;
63
64--
65-- TOC entry 191 (class 1259 OID 25483)
66-- Name: auth_group_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
67--
68
69CREATE SEQUENCE django_test.auth_group_id_seq
70 START WITH 1
71 INCREMENT BY 1
72 NO MINVALUE
73 NO MAXVALUE
74 CACHE 1;
75
76
77ALTER TABLE django_test.auth_group_id_seq OWNER TO django_test;
78
79--
80-- TOC entry 2294 (class 0 OID 0)
81-- Dependencies: 191
82-- Name: auth_group_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
83--
84
85ALTER SEQUENCE django_test.auth_group_id_seq OWNED BY django_test.auth_group.id;
86
87
88--
89-- TOC entry 194 (class 1259 OID 25495)
90-- Name: auth_group_permissions; Type: TABLE; Schema: django_test; Owner: django_test
91--
92
93CREATE TABLE django_test.auth_group_permissions (
94 id integer NOT NULL,
95 group_id integer NOT NULL,
96 permission_id integer NOT NULL
97);
98
99
100ALTER TABLE django_test.auth_group_permissions OWNER TO django_test;
101
102--
103-- TOC entry 193 (class 1259 OID 25493)
104-- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
105--
106
107CREATE SEQUENCE django_test.auth_group_permissions_id_seq
108 START WITH 1
109 INCREMENT BY 1
110 NO MINVALUE
111 NO MAXVALUE
112 CACHE 1;
113
114
115ALTER TABLE django_test.auth_group_permissions_id_seq OWNER TO django_test;
116
117--
118-- TOC entry 2295 (class 0 OID 0)
119-- Dependencies: 193
120-- Name: auth_group_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
121--
122
123ALTER SEQUENCE django_test.auth_group_permissions_id_seq OWNED BY django_test.auth_group_permissions.id;
124
125
126--
127-- TOC entry 190 (class 1259 OID 25477)
128-- Name: auth_permission; Type: TABLE; Schema: django_test; Owner: django_test
129--
130
131CREATE TABLE django_test.auth_permission (
132 id integer NOT NULL,
133 name character varying(255) NOT NULL,
134 content_type_id integer NOT NULL,
135 codename character varying(100) NOT NULL
136);
137
138
139ALTER TABLE django_test.auth_permission OWNER TO django_test;
140
141--
142-- TOC entry 189 (class 1259 OID 25475)
143-- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
144--
145
146CREATE SEQUENCE django_test.auth_permission_id_seq
147 START WITH 1
148 INCREMENT BY 1
149 NO MINVALUE
150 NO MAXVALUE
151 CACHE 1;
152
153
154ALTER TABLE django_test.auth_permission_id_seq OWNER TO django_test;
155
156--
157-- TOC entry 2296 (class 0 OID 0)
158-- Dependencies: 189
159-- Name: auth_permission_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
160--
161
162ALTER SEQUENCE django_test.auth_permission_id_seq OWNED BY django_test.auth_permission.id;
163
164
165--
166-- TOC entry 196 (class 1259 OID 25503)
167-- Name: auth_user; Type: TABLE; Schema: django_test; Owner: django_test
168--
169
170CREATE TABLE django_test.auth_user (
171 id integer NOT NULL,
172 password character varying(128) NOT NULL,
173 last_login timestamp with time zone,
174 is_superuser boolean NOT NULL,
175 username character varying(150) NOT NULL,
176 first_name character varying(30) NOT NULL,
177 last_name character varying(150) NOT NULL,
178 email character varying(254) NOT NULL,
179 is_staff boolean NOT NULL,
180 is_active boolean NOT NULL,
181 date_joined timestamp with time zone NOT NULL
182);
183
184
185ALTER TABLE django_test.auth_user OWNER TO django_test;
186
187--
188-- TOC entry 198 (class 1259 OID 25513)
189-- Name: auth_user_groups; Type: TABLE; Schema: django_test; Owner: django_test
190--
191
192CREATE TABLE django_test.auth_user_groups (
193 id integer NOT NULL,
194 user_id integer NOT NULL,
195 group_id integer NOT NULL
196);
197
198
199ALTER TABLE django_test.auth_user_groups OWNER TO django_test;
200
201--
202-- TOC entry 197 (class 1259 OID 25511)
203-- Name: auth_user_groups_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
204--
205
206CREATE SEQUENCE django_test.auth_user_groups_id_seq
207 START WITH 1
208 INCREMENT BY 1
209 NO MINVALUE
210 NO MAXVALUE
211 CACHE 1;
212
213
214ALTER TABLE django_test.auth_user_groups_id_seq OWNER TO django_test;
215
216--
217-- TOC entry 2297 (class 0 OID 0)
218-- Dependencies: 197
219-- Name: auth_user_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
220--
221
222ALTER SEQUENCE django_test.auth_user_groups_id_seq OWNED BY django_test.auth_user_groups.id;
223
224
225--
226-- TOC entry 195 (class 1259 OID 25501)
227-- Name: auth_user_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
228--
229
230CREATE SEQUENCE django_test.auth_user_id_seq
231 START WITH 1
232 INCREMENT BY 1
233 NO MINVALUE
234 NO MAXVALUE
235 CACHE 1;
236
237
238ALTER TABLE django_test.auth_user_id_seq OWNER TO django_test;
239
240--
241-- TOC entry 2298 (class 0 OID 0)
242-- Dependencies: 195
243-- Name: auth_user_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
244--
245
246ALTER SEQUENCE django_test.auth_user_id_seq OWNED BY django_test.auth_user.id;
247
248
249--
250-- TOC entry 200 (class 1259 OID 25521)
251-- Name: auth_user_user_permissions; Type: TABLE; Schema: django_test; Owner: django_test
252--
253
254CREATE TABLE django_test.auth_user_user_permissions (
255 id integer NOT NULL,
256 user_id integer NOT NULL,
257 permission_id integer NOT NULL
258);
259
260
261ALTER TABLE django_test.auth_user_user_permissions OWNER TO django_test;
262
263--
264-- TOC entry 199 (class 1259 OID 25519)
265-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
266--
267
268CREATE SEQUENCE django_test.auth_user_user_permissions_id_seq
269 START WITH 1
270 INCREMENT BY 1
271 NO MINVALUE
272 NO MAXVALUE
273 CACHE 1;
274
275
276ALTER TABLE django_test.auth_user_user_permissions_id_seq OWNER TO django_test;
277
278--
279-- TOC entry 2299 (class 0 OID 0)
280-- Dependencies: 199
281-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
282--
283
284ALTER SEQUENCE django_test.auth_user_user_permissions_id_seq OWNED BY django_test.auth_user_user_permissions.id;
285
286
287--
288-- TOC entry 202 (class 1259 OID 25581)
289-- Name: django_admin_log; Type: TABLE; Schema: django_test; Owner: django_test
290--
291
292CREATE TABLE django_test.django_admin_log (
293 id integer NOT NULL,
294 action_time timestamp with time zone NOT NULL,
295 object_id text,
296 object_repr character varying(200) NOT NULL,
297 action_flag smallint NOT NULL,
298 change_message text NOT NULL,
299 content_type_id integer,
300 user_id integer NOT NULL,
301 CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
302);
303
304
305ALTER TABLE django_test.django_admin_log OWNER TO django_test;
306
307--
308-- TOC entry 201 (class 1259 OID 25579)
309-- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
310--
311
312CREATE SEQUENCE django_test.django_admin_log_id_seq
313 START WITH 1
314 INCREMENT BY 1
315 NO MINVALUE
316 NO MAXVALUE
317 CACHE 1;
318
319
320ALTER TABLE django_test.django_admin_log_id_seq OWNER TO django_test;
321
322--
323-- TOC entry 2300 (class 0 OID 0)
324-- Dependencies: 201
325-- Name: django_admin_log_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
326--
327
328ALTER SEQUENCE django_test.django_admin_log_id_seq OWNED BY django_test.django_admin_log.id;
329
330
331--
332-- TOC entry 188 (class 1259 OID 25467)
333-- Name: django_content_type; Type: TABLE; Schema: django_test; Owner: django_test
334--
335
336CREATE TABLE django_test.django_content_type (
337 id integer NOT NULL,
338 app_label character varying(100) NOT NULL,
339 model character varying(100) NOT NULL
340);
341
342
343ALTER TABLE django_test.django_content_type OWNER TO django_test;
344
345--
346-- TOC entry 187 (class 1259 OID 25465)
347-- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
348--
349
350CREATE SEQUENCE django_test.django_content_type_id_seq
351 START WITH 1
352 INCREMENT BY 1
353 NO MINVALUE
354 NO MAXVALUE
355 CACHE 1;
356
357
358ALTER TABLE django_test.django_content_type_id_seq OWNER TO django_test;
359
360--
361-- TOC entry 2301 (class 0 OID 0)
362-- Dependencies: 187
363-- Name: django_content_type_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
364--
365
366ALTER SEQUENCE django_test.django_content_type_id_seq OWNED BY django_test.django_content_type.id;
367
368
369--
370-- TOC entry 186 (class 1259 OID 25456)
371-- Name: django_migrations; Type: TABLE; Schema: django_test; Owner: django_test
372--
373
374CREATE TABLE django_test.django_migrations (
375 id integer NOT NULL,
376 app character varying(255) NOT NULL,
377 name character varying(255) NOT NULL,
378 applied timestamp with time zone NOT NULL
379);
380
381
382ALTER TABLE django_test.django_migrations OWNER TO django_test;
383
384--
385-- TOC entry 185 (class 1259 OID 25454)
386-- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
387--
388
389CREATE SEQUENCE django_test.django_migrations_id_seq
390 START WITH 1
391 INCREMENT BY 1
392 NO MINVALUE
393 NO MAXVALUE
394 CACHE 1;
395
396
397ALTER TABLE django_test.django_migrations_id_seq OWNER TO django_test;
398
399--
400-- TOC entry 2302 (class 0 OID 0)
401-- Dependencies: 185
402-- Name: django_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
403--
404
405ALTER SEQUENCE django_test.django_migrations_id_seq OWNED BY django_test.django_migrations.id;
406
407
408--
409-- TOC entry 207 (class 1259 OID 25631)
410-- Name: django_session; Type: TABLE; Schema: django_test; Owner: django_test
411--
412
413CREATE TABLE django_test.django_session (
414 session_key character varying(40) NOT NULL,
415 session_data text NOT NULL,
416 expire_date timestamp with time zone NOT NULL
417);
418
419
420ALTER TABLE django_test.django_session OWNER TO django_test;
421
422--
423-- TOC entry 204 (class 1259 OID 25611)
424-- Name: polls_choice; Type: TABLE; Schema: django_test; Owner: django_test
425--
426
427CREATE TABLE django_test.polls_choice (
428 id integer NOT NULL,
429 choice_text character varying(200) NOT NULL,
430 votes integer NOT NULL,
431 test boolean NOT NULL,
432 question_id integer NOT NULL
433);
434
435
436ALTER TABLE django_test.polls_choice OWNER TO django_test;
437
438--
439-- TOC entry 203 (class 1259 OID 25609)
440-- Name: polls_choice_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
441--
442
443CREATE SEQUENCE django_test.polls_choice_id_seq
444 START WITH 1
445 INCREMENT BY 1
446 NO MINVALUE
447 NO MAXVALUE
448 CACHE 1;
449
450
451ALTER TABLE django_test.polls_choice_id_seq OWNER TO django_test;
452
453--
454-- TOC entry 2303 (class 0 OID 0)
455-- Dependencies: 203
456-- Name: polls_choice_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
457--
458
459ALTER SEQUENCE django_test.polls_choice_id_seq OWNED BY django_test.polls_choice.id;
460
461
462--
463-- TOC entry 206 (class 1259 OID 25619)
464-- Name: polls_question; Type: TABLE; Schema: django_test; Owner: django_test
465--
466
467CREATE TABLE django_test.polls_question (
468 id integer NOT NULL,
469 question_text character varying(200) NOT NULL,
470 pub_date timestamp with time zone NOT NULL
471);
472
473
474ALTER TABLE django_test.polls_question OWNER TO django_test;
475
476--
477-- TOC entry 205 (class 1259 OID 25617)
478-- Name: polls_question_id_seq; Type: SEQUENCE; Schema: django_test; Owner: django_test
479--
480
481CREATE SEQUENCE django_test.polls_question_id_seq
482 START WITH 1
483 INCREMENT BY 1
484 NO MINVALUE
485 NO MAXVALUE
486 CACHE 1;
487
488
489ALTER TABLE django_test.polls_question_id_seq OWNER TO django_test;
490
491--
492-- TOC entry 2304 (class 0 OID 0)
493-- Dependencies: 205
494-- Name: polls_question_id_seq; Type: SEQUENCE OWNED BY; Schema: django_test; Owner: django_test
495--
496
497ALTER SEQUENCE django_test.polls_question_id_seq OWNED BY django_test.polls_question.id;
498
499
500--
501-- TOC entry 2076 (class 2604 OID 25488)
502-- Name: auth_group id; Type: DEFAULT; Schema: django_test; Owner: django_test
503--
504
505ALTER TABLE ONLY django_test.auth_group ALTER COLUMN id SET DEFAULT nextval('django_test.auth_group_id_seq'::regclass);
506
507
508--
509-- TOC entry 2077 (class 2604 OID 25498)
510-- Name: auth_group_permissions id; Type: DEFAULT; Schema: django_test; Owner: django_test
511--
512
513ALTER TABLE ONLY django_test.auth_group_permissions ALTER COLUMN id SET DEFAULT nextval('django_test.auth_group_permissions_id_seq'::regclass);
514
515
516--
517-- TOC entry 2075 (class 2604 OID 25480)
518-- Name: auth_permission id; Type: DEFAULT; Schema: django_test; Owner: django_test
519--
520
521ALTER TABLE ONLY django_test.auth_permission ALTER COLUMN id SET DEFAULT nextval('django_test.auth_permission_id_seq'::regclass);
522
523
524--
525-- TOC entry 2078 (class 2604 OID 25506)
526-- Name: auth_user id; Type: DEFAULT; Schema: django_test; Owner: django_test
527--
528
529ALTER TABLE ONLY django_test.auth_user ALTER COLUMN id SET DEFAULT nextval('django_test.auth_user_id_seq'::regclass);
530
531
532--
533-- TOC entry 2079 (class 2604 OID 25516)
534-- Name: auth_user_groups id; Type: DEFAULT; Schema: django_test; Owner: django_test
535--
536
537ALTER TABLE ONLY django_test.auth_user_groups ALTER COLUMN id SET DEFAULT nextval('django_test.auth_user_groups_id_seq'::regclass);
538
539
540--
541-- TOC entry 2080 (class 2604 OID 25524)
542-- Name: auth_user_user_permissions id; Type: DEFAULT; Schema: django_test; Owner: django_test
543--
544
545ALTER TABLE ONLY django_test.auth_user_user_permissions ALTER COLUMN id SET DEFAULT nextval('django_test.auth_user_user_permissions_id_seq'::regclass);
546
547
548--
549-- TOC entry 2081 (class 2604 OID 25584)
550-- Name: django_admin_log id; Type: DEFAULT; Schema: django_test; Owner: django_test
551--
552
553ALTER TABLE ONLY django_test.django_admin_log ALTER COLUMN id SET DEFAULT nextval('django_test.django_admin_log_id_seq'::regclass);
554
555
556--
557-- TOC entry 2074 (class 2604 OID 25470)
558-- Name: django_content_type id; Type: DEFAULT; Schema: django_test; Owner: django_test
559--
560
561ALTER TABLE ONLY django_test.django_content_type ALTER COLUMN id SET DEFAULT nextval('django_test.django_content_type_id_seq'::regclass);
562
563
564--
565-- TOC entry 2073 (class 2604 OID 25459)
566-- Name: django_migrations id; Type: DEFAULT; Schema: django_test; Owner: django_test
567--
568
569ALTER TABLE ONLY django_test.django_migrations ALTER COLUMN id SET DEFAULT nextval('django_test.django_migrations_id_seq'::regclass);
570
571
572--
573-- TOC entry 2083 (class 2604 OID 25614)
574-- Name: polls_choice id; Type: DEFAULT; Schema: django_test; Owner: django_test
575--
576
577ALTER TABLE ONLY django_test.polls_choice ALTER COLUMN id SET DEFAULT nextval('django_test.polls_choice_id_seq'::regclass);
578
579
580--
581-- TOC entry 2084 (class 2604 OID 25622)
582-- Name: polls_question id; Type: DEFAULT; Schema: django_test; Owner: django_test
583--
584
585ALTER TABLE ONLY django_test.polls_question ALTER COLUMN id SET DEFAULT nextval('django_test.polls_question_id_seq'::regclass);
586
587
588--
589-- TOC entry 2271 (class 0 OID 25485)
590-- Dependencies: 192
591-- Data for Name: auth_group; Type: TABLE DATA; Schema: django_test; Owner: django_test
592--
593
594COPY django_test.auth_group (id, name) FROM stdin;
595\.
596
597
598--
599-- TOC entry 2305 (class 0 OID 0)
600-- Dependencies: 191
601-- Name: auth_group_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
602--
603
604SELECT pg_catalog.setval('django_test.auth_group_id_seq', 1, false);
605
606
607--
608-- TOC entry 2273 (class 0 OID 25495)
609-- Dependencies: 194
610-- Data for Name: auth_group_permissions; Type: TABLE DATA; Schema: django_test; Owner: django_test
611--
612
613COPY django_test.auth_group_permissions (id, group_id, permission_id) FROM stdin;
614\.
615
616
617--
618-- TOC entry 2306 (class 0 OID 0)
619-- Dependencies: 193
620-- Name: auth_group_permissions_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
621--
622
623SELECT pg_catalog.setval('django_test.auth_group_permissions_id_seq', 1, false);
624
625
626--
627-- TOC entry 2269 (class 0 OID 25477)
628-- Dependencies: 190
629-- Data for Name: auth_permission; Type: TABLE DATA; Schema: django_test; Owner: django_test
630--
631
632COPY django_test.auth_permission (id, name, content_type_id, codename) FROM stdin;
6331 Can add choice 1 add_choice
6342 Can change choice 1 change_choice
6353 Can delete choice 1 delete_choice
6364 Can view choice 1 view_choice
6375 Can add question 2 add_question
6386 Can change question 2 change_question
6397 Can delete question 2 delete_question
6408 Can view question 2 view_question
6419 Can add log entry 3 add_logentry
64210 Can change log entry 3 change_logentry
64311 Can delete log entry 3 delete_logentry
64412 Can view log entry 3 view_logentry
64513 Can add user 4 add_user
64614 Can change user 4 change_user
64715 Can delete user 4 delete_user
64816 Can view user 4 view_user
64917 Can add group 5 add_group
65018 Can change group 5 change_group
65119 Can delete group 5 delete_group
65220 Can view group 5 view_group
65321 Can add permission 6 add_permission
65422 Can change permission 6 change_permission
65523 Can delete permission 6 delete_permission
65624 Can view permission 6 view_permission
65725 Can add content type 7 add_contenttype
65826 Can change content type 7 change_contenttype
65927 Can delete content type 7 delete_contenttype
66028 Can view content type 7 view_contenttype
66129 Can add session 8 add_session
66230 Can change session 8 change_session
66331 Can delete session 8 delete_session
66432 Can view session 8 view_session
665\.
666
667
668--
669-- TOC entry 2307 (class 0 OID 0)
670-- Dependencies: 189
671-- Name: auth_permission_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
672--
673
674SELECT pg_catalog.setval('django_test.auth_permission_id_seq', 32, true);
675
676
677--
678-- TOC entry 2275 (class 0 OID 25503)
679-- Dependencies: 196
680-- Data for Name: auth_user; Type: TABLE DATA; Schema: django_test; Owner: django_test
681--
682
683COPY django_test.auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) FROM stdin;
6842 pbkdf2_sha256$120000$9pMtDgP7wjci$SbYFjETpPuGC4xtGJyCpGQUbCuIYeoU711gkvOX0aFk= 2018-12-12 16:45:27.348288+01 f notadmin t t 2018-12-12 16:40:54+01
6851 pbkdf2_sha256$120000$uNdDjMEmqNie$YhgZu8fmZRR4OD6CAE43Ux6B+OrH5yEzSWH5NYfsOSM= 2018-12-12 16:50:11.292664+01 t admin admin@djangoproject.com t t 2018-12-12 16:37:14.673194+01
686\.
687
688
689--
690-- TOC entry 2277 (class 0 OID 25513)
691-- Dependencies: 198
692-- Data for Name: auth_user_groups; Type: TABLE DATA; Schema: django_test; Owner: django_test
693--
694
695COPY django_test.auth_user_groups (id, user_id, group_id) FROM stdin;
696\.
697
698
699--
700-- TOC entry 2308 (class 0 OID 0)
701-- Dependencies: 197
702-- Name: auth_user_groups_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
703--
704
705SELECT pg_catalog.setval('django_test.auth_user_groups_id_seq', 1, false);
706
707
708--
709-- TOC entry 2309 (class 0 OID 0)
710-- Dependencies: 195
711-- Name: auth_user_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
712--
713
714SELECT pg_catalog.setval('django_test.auth_user_id_seq', 2, true);
715
716
717--
718-- TOC entry 2279 (class 0 OID 25521)
719-- Dependencies: 200
720-- Data for Name: auth_user_user_permissions; Type: TABLE DATA; Schema: django_test; Owner: django_test
721--
722
723COPY django_test.auth_user_user_permissions (id, user_id, permission_id) FROM stdin;
7241 2 8
7252 2 4
7263 2 2
7274 2 6
7285 2 1
7296 2 3
7307 2 5
7318 2 7
732\.
733
734
735--
736-- TOC entry 2310 (class 0 OID 0)
737-- Dependencies: 199
738-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
739--
740
741SELECT pg_catalog.setval('django_test.auth_user_user_permissions_id_seq', 8, true);
742
743
744--
745-- TOC entry 2281 (class 0 OID 25581)
746-- Dependencies: 202
747-- Data for Name: django_admin_log; Type: TABLE DATA; Schema: django_test; Owner: django_test
748--
749
750COPY django_test.django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) FROM stdin;
7511 2018-12-12 16:40:27.120964+01 1 Who are you? 1 [{"added": {}}, {"added": {"object": "Me", "name": "choice"}}, {"added": {"object": "You", "name": "choice"}}, {"added": {"object": "Someone else", "name": "choice"}}] 2 1
7522 2018-12-12 16:40:54.085729+01 2 notadmin 1 [{"added": {}}] 4 1
7533 2018-12-12 16:41:08.78974+01 2 notadmin 2 [{"changed": {"fields": ["is_staff"]}}] 4 1
7544 2018-12-12 16:41:53.778446+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
7555 2018-12-12 16:42:34.624952+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
7566 2018-12-12 16:45:20.556391+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
7577 2018-12-12 16:50:33.679459+01 2 How are you? 1 [{"added": {}}, {"added": {"name": "choice", "object": "Fine"}}, {"added": {"name": "choice", "object": "Damn fine"}}, {"added": {"name": "choice", "object": "Well, you know, fine"}}] 2 1
758\.
759
760
761--
762-- TOC entry 2311 (class 0 OID 0)
763-- Dependencies: 201
764-- Name: django_admin_log_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
765--
766
767SELECT pg_catalog.setval('django_test.django_admin_log_id_seq', 7, true);
768
769
770--
771-- TOC entry 2267 (class 0 OID 25467)
772-- Dependencies: 188
773-- Data for Name: django_content_type; Type: TABLE DATA; Schema: django_test; Owner: django_test
774--
775
776COPY django_test.django_content_type (id, app_label, model) FROM stdin;
7771 polls choice
7782 polls question
7793 admin logentry
7804 auth user
7815 auth group
7826 auth permission
7837 contenttypes contenttype
7848 sessions session
785\.
786
787
788--
789-- TOC entry 2312 (class 0 OID 0)
790-- Dependencies: 187
791-- Name: django_content_type_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
792--
793
794SELECT pg_catalog.setval('django_test.django_content_type_id_seq', 8, true);
795
796
797--
798-- TOC entry 2265 (class 0 OID 25456)
799-- Dependencies: 186
800-- Data for Name: django_migrations; Type: TABLE DATA; Schema: django_test; Owner: django_test
801--
802
803COPY django_test.django_migrations (id, app, name, applied) FROM stdin;
8041 contenttypes 0001_initial 2018-12-12 16:34:26.374462+01
8052 auth 0001_initial 2018-12-12 16:34:26.950575+01
8063 admin 0001_initial 2018-12-12 16:34:27.108758+01
8074 admin 0002_logentry_remove_auto_add 2018-12-12 16:34:27.127581+01
8085 admin 0003_logentry_add_action_flag_choices 2018-12-12 16:34:27.158921+01
8096 contenttypes 0002_remove_content_type_name 2018-12-12 16:34:27.183101+01
8107 auth 0002_alter_permission_name_max_length 2018-12-12 16:34:27.199942+01
8118 auth 0003_alter_user_email_max_length 2018-12-12 16:34:27.224856+01
8129 auth 0004_alter_user_username_opts 2018-12-12 16:34:27.240763+01
81310 auth 0005_alter_user_last_login_null 2018-12-12 16:34:27.267405+01
81411 auth 0006_require_contenttypes_0002 2018-12-12 16:34:27.275625+01
81512 auth 0007_alter_validators_add_error_messages 2018-12-12 16:34:27.299836+01
81613 auth 0008_alter_user_username_max_length 2018-12-12 16:34:27.358851+01
81714 auth 0009_alter_user_last_name_max_length 2018-12-12 16:34:27.383734+01
81815 polls 0001_initial 2018-12-12 16:34:27.484172+01
81916 sessions 0001_initial 2018-12-12 16:34:27.625731+01
820\.
821
822
823--
824-- TOC entry 2313 (class 0 OID 0)
825-- Dependencies: 185
826-- Name: django_migrations_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
827--
828
829SELECT pg_catalog.setval('django_test.django_migrations_id_seq', 16, true);
830
831
832--
833-- TOC entry 2286 (class 0 OID 25631)
834-- Dependencies: 207
835-- Data for Name: django_session; Type: TABLE DATA; Schema: django_test; Owner: django_test
836--
837
838COPY django_test.django_session (session_key, session_data, expire_date) FROM stdin;
839s2b3wxwdike0az2i4jxymr5dudwpcy6f ZmQ2YjU4YzhkNTNhNWY5YjYyMjEzZjIzMjQyODZiZmY4NTIyN2U0Yjp7Il9hdXRoX3VzZXJfaGFzaCI6IjFhOWNhZTY4ZWEzZmE2YzYxNGIyNWRhMGQ1ZDMwODMyODlmMjYyZWEiLCJfYXV0aF91c2VyX2lkIjoiMiIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIn0= 2018-12-26 16:45:27.356914+01
840gguhc10regrooxpbbidr6k70apinz826 MDNmZTczOTljOGQyNGI5NjQ0NWFlNjJhNGM4OGM5ZDI4NGNmMjM4NDp7Il9hdXRoX3VzZXJfaGFzaCI6ImUyYmMxNGM2ODIyNDk0ZTFjNzlkZDFmZWQ2MjEwODBkNTUyYWMwNjciLCJfYXV0aF91c2VyX2lkIjoiMSIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIn0= 2018-12-26 16:50:11.309726+01
841\.
842
843
844--
845-- TOC entry 2283 (class 0 OID 25611)
846-- Dependencies: 204
847-- Data for Name: polls_choice; Type: TABLE DATA; Schema: django_test; Owner: django_test
848--
849
850COPY django_test.polls_choice (id, choice_text, votes, test, question_id) FROM stdin;
8511 Me 0 t 1
8522 You 0 t 1
8533 Someone else 0 t 1
8544 Fine 0 t 2
8555 Damn fine 0 t 2
8566 Well, you know, fine 0 t 2
857\.
858
859
860--
861-- TOC entry 2314 (class 0 OID 0)
862-- Dependencies: 203
863-- Name: polls_choice_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
864--
865
866SELECT pg_catalog.setval('django_test.polls_choice_id_seq', 6, true);
867
868
869--
870-- TOC entry 2285 (class 0 OID 25619)
871-- Dependencies: 206
872-- Data for Name: polls_question; Type: TABLE DATA; Schema: django_test; Owner: django_test
873--
874
875COPY django_test.polls_question (id, question_text, pub_date) FROM stdin;
8761 Who are you? 2018-12-12 16:40:21+01
8772 How are you? 2018-12-12 16:50:17+01
878\.
879
880
881--
882-- TOC entry 2315 (class 0 OID 0)
883-- Dependencies: 205
884-- Name: polls_question_id_seq; Type: SEQUENCE SET; Schema: django_test; Owner: django_test
885--
886
887SELECT pg_catalog.setval('django_test.polls_question_id_seq', 2, true);
888
889
890--
891-- TOC entry 2098 (class 2606 OID 25492)
892-- Name: auth_group auth_group_name_key; Type: CONSTRAINT; Schema: django_test; Owner: django_test
893--
894
895ALTER TABLE ONLY django_test.auth_group
896 ADD CONSTRAINT auth_group_name_key UNIQUE (name);
897
898
899--
900-- TOC entry 2103 (class 2606 OID 25547)
901-- Name: auth_group_permissions auth_group_permissions_group_id_permission_id_0cd325b0_uniq; Type: CONSTRAINT; Schema: django_test; Owner: django_test
902--
903
904ALTER TABLE ONLY django_test.auth_group_permissions
905 ADD CONSTRAINT auth_group_permissions_group_id_permission_id_0cd325b0_uniq UNIQUE (group_id, permission_id);
906
907
908--
909-- TOC entry 2106 (class 2606 OID 25500)
910-- Name: auth_group_permissions auth_group_permissions_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
911--
912
913ALTER TABLE ONLY django_test.auth_group_permissions
914 ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);
915
916
917--
918-- TOC entry 2100 (class 2606 OID 25490)
919-- Name: auth_group auth_group_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
920--
921
922ALTER TABLE ONLY django_test.auth_group
923 ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);
924
925
926--
927-- TOC entry 2093 (class 2606 OID 25533)
928-- Name: auth_permission auth_permission_content_type_id_codename_01ab375a_uniq; Type: CONSTRAINT; Schema: django_test; Owner: django_test
929--
930
931ALTER TABLE ONLY django_test.auth_permission
932 ADD CONSTRAINT auth_permission_content_type_id_codename_01ab375a_uniq UNIQUE (content_type_id, codename);
933
934
935--
936-- TOC entry 2095 (class 2606 OID 25482)
937-- Name: auth_permission auth_permission_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
938--
939
940ALTER TABLE ONLY django_test.auth_permission
941 ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);
942
943
944--
945-- TOC entry 2114 (class 2606 OID 25518)
946-- Name: auth_user_groups auth_user_groups_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
947--
948
949ALTER TABLE ONLY django_test.auth_user_groups
950 ADD CONSTRAINT auth_user_groups_pkey PRIMARY KEY (id);
951
952
953--
954-- TOC entry 2117 (class 2606 OID 25562)
955-- Name: auth_user_groups auth_user_groups_user_id_group_id_94350c0c_uniq; Type: CONSTRAINT; Schema: django_test; Owner: django_test
956--
957
958ALTER TABLE ONLY django_test.auth_user_groups
959 ADD CONSTRAINT auth_user_groups_user_id_group_id_94350c0c_uniq UNIQUE (user_id, group_id);
960
961
962--
963-- TOC entry 2108 (class 2606 OID 25508)
964-- Name: auth_user auth_user_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
965--
966
967ALTER TABLE ONLY django_test.auth_user
968 ADD CONSTRAINT auth_user_pkey PRIMARY KEY (id);
969
970
971--
972-- TOC entry 2120 (class 2606 OID 25526)
973-- Name: auth_user_user_permissions auth_user_user_permissions_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
974--
975
976ALTER TABLE ONLY django_test.auth_user_user_permissions
977 ADD CONSTRAINT auth_user_user_permissions_pkey PRIMARY KEY (id);
978
979
980--
981-- TOC entry 2123 (class 2606 OID 25576)
982-- Name: auth_user_user_permissions auth_user_user_permissions_user_id_permission_id_14a6b632_uniq; Type: CONSTRAINT; Schema: django_test; Owner: django_test
983--
984
985ALTER TABLE ONLY django_test.auth_user_user_permissions
986 ADD CONSTRAINT auth_user_user_permissions_user_id_permission_id_14a6b632_uniq UNIQUE (user_id, permission_id);
987
988
989--
990-- TOC entry 2111 (class 2606 OID 25604)
991-- Name: auth_user auth_user_username_key; Type: CONSTRAINT; Schema: django_test; Owner: django_test
992--
993
994ALTER TABLE ONLY django_test.auth_user
995 ADD CONSTRAINT auth_user_username_key UNIQUE (username);
996
997
998--
999-- TOC entry 2126 (class 2606 OID 25590)
1000-- Name: django_admin_log django_admin_log_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1001--
1002
1003ALTER TABLE ONLY django_test.django_admin_log
1004 ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);
1005
1006
1007--
1008-- TOC entry 2088 (class 2606 OID 25474)
1009-- Name: django_content_type django_content_type_app_label_model_76bd3d3b_uniq; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1010--
1011
1012ALTER TABLE ONLY django_test.django_content_type
1013 ADD CONSTRAINT django_content_type_app_label_model_76bd3d3b_uniq UNIQUE (app_label, model);
1014
1015
1016--
1017-- TOC entry 2090 (class 2606 OID 25472)
1018-- Name: django_content_type django_content_type_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1019--
1020
1021ALTER TABLE ONLY django_test.django_content_type
1022 ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);
1023
1024
1025--
1026-- TOC entry 2086 (class 2606 OID 25464)
1027-- Name: django_migrations django_migrations_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1028--
1029
1030ALTER TABLE ONLY django_test.django_migrations
1031 ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);
1032
1033
1034--
1035-- TOC entry 2135 (class 2606 OID 25638)
1036-- Name: django_session django_session_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1037--
1038
1039ALTER TABLE ONLY django_test.django_session
1040 ADD CONSTRAINT django_session_pkey PRIMARY KEY (session_key);
1041
1042
1043--
1044-- TOC entry 2129 (class 2606 OID 25616)
1045-- Name: polls_choice polls_choice_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1046--
1047
1048ALTER TABLE ONLY django_test.polls_choice
1049 ADD CONSTRAINT polls_choice_pkey PRIMARY KEY (id);
1050
1051
1052--
1053-- TOC entry 2132 (class 2606 OID 25624)
1054-- Name: polls_question polls_question_pkey; Type: CONSTRAINT; Schema: django_test; Owner: django_test
1055--
1056
1057ALTER TABLE ONLY django_test.polls_question
1058 ADD CONSTRAINT polls_question_pkey PRIMARY KEY (id);
1059
1060
1061--
1062-- TOC entry 2096 (class 1259 OID 25535)
1063-- Name: auth_group_name_a6ea08ec_like; Type: INDEX; Schema: django_test; Owner: django_test
1064--
1065
1066CREATE INDEX auth_group_name_a6ea08ec_like ON django_test.auth_group USING btree (name varchar_pattern_ops);
1067
1068
1069--
1070-- TOC entry 2101 (class 1259 OID 25548)
1071-- Name: auth_group_permissions_group_id_b120cbf9; Type: INDEX; Schema: django_test; Owner: django_test
1072--
1073
1074CREATE INDEX auth_group_permissions_group_id_b120cbf9 ON django_test.auth_group_permissions USING btree (group_id);
1075
1076
1077--
1078-- TOC entry 2104 (class 1259 OID 25549)
1079-- Name: auth_group_permissions_permission_id_84c5c92e; Type: INDEX; Schema: django_test; Owner: django_test
1080--
1081
1082CREATE INDEX auth_group_permissions_permission_id_84c5c92e ON django_test.auth_group_permissions USING btree (permission_id);
1083
1084
1085--
1086-- TOC entry 2091 (class 1259 OID 25534)
1087-- Name: auth_permission_content_type_id_2f476e4b; Type: INDEX; Schema: django_test; Owner: django_test
1088--
1089
1090CREATE INDEX auth_permission_content_type_id_2f476e4b ON django_test.auth_permission USING btree (content_type_id);
1091
1092
1093--
1094-- TOC entry 2112 (class 1259 OID 25564)
1095-- Name: auth_user_groups_group_id_97559544; Type: INDEX; Schema: django_test; Owner: django_test
1096--
1097
1098CREATE INDEX auth_user_groups_group_id_97559544 ON django_test.auth_user_groups USING btree (group_id);
1099
1100
1101--
1102-- TOC entry 2115 (class 1259 OID 25563)
1103-- Name: auth_user_groups_user_id_6a12ed8b; Type: INDEX; Schema: django_test; Owner: django_test
1104--
1105
1106CREATE INDEX auth_user_groups_user_id_6a12ed8b ON django_test.auth_user_groups USING btree (user_id);
1107
1108
1109--
1110-- TOC entry 2118 (class 1259 OID 25578)
1111-- Name: auth_user_user_permissions_permission_id_1fbb5f2c; Type: INDEX; Schema: django_test; Owner: django_test
1112--
1113
1114CREATE INDEX auth_user_user_permissions_permission_id_1fbb5f2c ON django_test.auth_user_user_permissions USING btree (permission_id);
1115
1116
1117--
1118-- TOC entry 2121 (class 1259 OID 25577)
1119-- Name: auth_user_user_permissions_user_id_a95ead1b; Type: INDEX; Schema: django_test; Owner: django_test
1120--
1121
1122CREATE INDEX auth_user_user_permissions_user_id_a95ead1b ON django_test.auth_user_user_permissions USING btree (user_id);
1123
1124
1125--
1126-- TOC entry 2109 (class 1259 OID 25605)
1127-- Name: auth_user_username_6821ab7c_like; Type: INDEX; Schema: django_test; Owner: django_test
1128--
1129
1130CREATE INDEX auth_user_username_6821ab7c_like ON django_test.auth_user USING btree (username varchar_pattern_ops);
1131
1132
1133--
1134-- TOC entry 2124 (class 1259 OID 25601)
1135-- Name: django_admin_log_content_type_id_c4bce8eb; Type: INDEX; Schema: django_test; Owner: django_test
1136--
1137
1138CREATE INDEX django_admin_log_content_type_id_c4bce8eb ON django_test.django_admin_log USING btree (content_type_id);
1139
1140
1141--
1142-- TOC entry 2127 (class 1259 OID 25602)
1143-- Name: django_admin_log_user_id_c564eba6; Type: INDEX; Schema: django_test; Owner: django_test
1144--
1145
1146CREATE INDEX django_admin_log_user_id_c564eba6 ON django_test.django_admin_log USING btree (user_id);
1147
1148
1149--
1150-- TOC entry 2133 (class 1259 OID 25640)
1151-- Name: django_session_expire_date_a5c62663; Type: INDEX; Schema: django_test; Owner: django_test
1152--
1153
1154CREATE INDEX django_session_expire_date_a5c62663 ON django_test.django_session USING btree (expire_date);
1155
1156
1157--
1158-- TOC entry 2136 (class 1259 OID 25639)
1159-- Name: django_session_session_key_c0390e0f_like; Type: INDEX; Schema: django_test; Owner: django_test
1160--
1161
1162CREATE INDEX django_session_session_key_c0390e0f_like ON django_test.django_session USING btree (session_key varchar_pattern_ops);
1163
1164
1165--
1166-- TOC entry 2130 (class 1259 OID 25625)
1167-- Name: polls_choice_question_id_c5b4b260; Type: INDEX; Schema: django_test; Owner: django_test
1168--
1169
1170CREATE INDEX polls_choice_question_id_c5b4b260 ON django_test.polls_choice USING btree (question_id);
1171
1172
1173--
1174-- TOC entry 2139 (class 2606 OID 25541)
1175-- Name: auth_group_permissions auth_group_permissio_permission_id_84c5c92e_fk_auth_perm; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1176--
1177
1178ALTER TABLE ONLY django_test.auth_group_permissions
1179 ADD CONSTRAINT auth_group_permissio_permission_id_84c5c92e_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES django_test.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1180
1181
1182--
1183-- TOC entry 2138 (class 2606 OID 25536)
1184-- Name: auth_group_permissions auth_group_permissions_group_id_b120cbf9_fk_auth_group_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1185--
1186
1187ALTER TABLE ONLY django_test.auth_group_permissions
1188 ADD CONSTRAINT auth_group_permissions_group_id_b120cbf9_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES django_test.auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1189
1190
1191--
1192-- TOC entry 2137 (class 2606 OID 25527)
1193-- Name: auth_permission auth_permission_content_type_id_2f476e4b_fk_django_co; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1194--
1195
1196ALTER TABLE ONLY django_test.auth_permission
1197 ADD CONSTRAINT auth_permission_content_type_id_2f476e4b_fk_django_co FOREIGN KEY (content_type_id) REFERENCES django_test.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1198
1199
1200--
1201-- TOC entry 2141 (class 2606 OID 25556)
1202-- Name: auth_user_groups auth_user_groups_group_id_97559544_fk_auth_group_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1203--
1204
1205ALTER TABLE ONLY django_test.auth_user_groups
1206 ADD CONSTRAINT auth_user_groups_group_id_97559544_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES django_test.auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1207
1208
1209--
1210-- TOC entry 2140 (class 2606 OID 25551)
1211-- Name: auth_user_groups auth_user_groups_user_id_6a12ed8b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1212--
1213
1214ALTER TABLE ONLY django_test.auth_user_groups
1215 ADD CONSTRAINT auth_user_groups_user_id_6a12ed8b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES django_test.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1216
1217
1218--
1219-- TOC entry 2143 (class 2606 OID 25570)
1220-- Name: auth_user_user_permissions auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1221--
1222
1223ALTER TABLE ONLY django_test.auth_user_user_permissions
1224 ADD CONSTRAINT auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm FOREIGN KEY (permission_id) REFERENCES django_test.auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1225
1226
1227--
1228-- TOC entry 2142 (class 2606 OID 25565)
1229-- Name: auth_user_user_permissions auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1230--
1231
1232ALTER TABLE ONLY django_test.auth_user_user_permissions
1233 ADD CONSTRAINT auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES django_test.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1234
1235
1236--
1237-- TOC entry 2144 (class 2606 OID 25591)
1238-- Name: django_admin_log django_admin_log_content_type_id_c4bce8eb_fk_django_co; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1239--
1240
1241ALTER TABLE ONLY django_test.django_admin_log
1242 ADD CONSTRAINT django_admin_log_content_type_id_c4bce8eb_fk_django_co FOREIGN KEY (content_type_id) REFERENCES django_test.django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1243
1244
1245--
1246-- TOC entry 2145 (class 2606 OID 25596)
1247-- Name: django_admin_log django_admin_log_user_id_c564eba6_fk_auth_user_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1248--
1249
1250ALTER TABLE ONLY django_test.django_admin_log
1251 ADD CONSTRAINT django_admin_log_user_id_c564eba6_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES django_test.auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1252
1253
1254--
1255-- TOC entry 2146 (class 2606 OID 25626)
1256-- Name: polls_choice polls_choice_question_id_c5b4b260_fk_polls_question_id; Type: FK CONSTRAINT; Schema: django_test; Owner: django_test
1257--
1258
1259ALTER TABLE ONLY django_test.polls_choice
1260 ADD CONSTRAINT polls_choice_question_id_c5b4b260_fk_polls_question_id FOREIGN KEY (question_id) REFERENCES django_test.polls_question(id) DEFERRABLE INITIALLY DEFERRED;
1261
1262
1263-- Completed on 2018-12-13 08:22:50 CET
1264
1265--
1266-- PostgreSQL database dump complete
1267--
1268
Back to Top