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 |
|
---|
10 | SET statement_timeout = 0;
|
---|
11 | SET lock_timeout = 0;
|
---|
12 | SET idle_in_transaction_session_timeout = 0;
|
---|
13 | SET client_encoding = 'UTF8';
|
---|
14 | SET standard_conforming_strings = on;
|
---|
15 | SELECT pg_catalog.set_config('search_path', '', false);
|
---|
16 | SET check_function_bodies = false;
|
---|
17 | SET client_min_messages = warning;
|
---|
18 | SET 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 |
|
---|
25 | CREATE SCHEMA django_test;
|
---|
26 |
|
---|
27 |
|
---|
28 | ALTER 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 |
|
---|
35 | CREATE 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 |
|
---|
44 | COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
|
---|
45 |
|
---|
46 |
|
---|
47 | SET default_tablespace = '';
|
---|
48 |
|
---|
49 | SET 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 |
|
---|
56 | CREATE TABLE django_test.auth_group (
|
---|
57 | id integer NOT NULL,
|
---|
58 | name character varying(80) NOT NULL
|
---|
59 | );
|
---|
60 |
|
---|
61 |
|
---|
62 | ALTER 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 |
|
---|
69 | CREATE 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 |
|
---|
77 | ALTER 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 |
|
---|
85 | ALTER 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 |
|
---|
93 | CREATE 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 |
|
---|
100 | ALTER 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 |
|
---|
107 | CREATE 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 |
|
---|
115 | ALTER 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 |
|
---|
123 | ALTER 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 |
|
---|
131 | CREATE 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 |
|
---|
139 | ALTER 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 |
|
---|
146 | CREATE 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 |
|
---|
154 | ALTER 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 |
|
---|
162 | ALTER 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 |
|
---|
170 | CREATE 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 |
|
---|
185 | ALTER 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 |
|
---|
192 | CREATE 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 |
|
---|
199 | ALTER 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 |
|
---|
206 | CREATE 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 |
|
---|
214 | ALTER 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 |
|
---|
222 | ALTER 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 |
|
---|
230 | CREATE 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 |
|
---|
238 | ALTER 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 |
|
---|
246 | ALTER 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 |
|
---|
254 | CREATE 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 |
|
---|
261 | ALTER 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 |
|
---|
268 | CREATE 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 |
|
---|
276 | ALTER 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 |
|
---|
284 | ALTER 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 |
|
---|
292 | CREATE 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 |
|
---|
305 | ALTER 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 |
|
---|
312 | CREATE 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 |
|
---|
320 | ALTER 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 |
|
---|
328 | ALTER 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 |
|
---|
336 | CREATE 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 |
|
---|
343 | ALTER 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 |
|
---|
350 | CREATE 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 |
|
---|
358 | ALTER 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 |
|
---|
366 | ALTER 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 |
|
---|
374 | CREATE 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 |
|
---|
382 | ALTER 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 |
|
---|
389 | CREATE 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 |
|
---|
397 | ALTER 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 |
|
---|
405 | ALTER 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 |
|
---|
413 | CREATE 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 |
|
---|
420 | ALTER 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 |
|
---|
427 | CREATE 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 |
|
---|
436 | ALTER 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 |
|
---|
443 | CREATE 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 |
|
---|
451 | ALTER 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 |
|
---|
459 | ALTER 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 |
|
---|
467 | CREATE 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 |
|
---|
474 | ALTER 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 |
|
---|
481 | CREATE 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 |
|
---|
489 | ALTER 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 |
|
---|
497 | ALTER 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 |
|
---|
505 | ALTER 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 |
|
---|
513 | ALTER 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 |
|
---|
521 | ALTER 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 |
|
---|
529 | ALTER 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 |
|
---|
537 | ALTER 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 |
|
---|
545 | ALTER 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 |
|
---|
553 | ALTER 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 |
|
---|
561 | ALTER 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 |
|
---|
569 | ALTER 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 |
|
---|
577 | ALTER 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 |
|
---|
585 | ALTER 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 |
|
---|
594 | COPY 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 |
|
---|
604 | SELECT 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 |
|
---|
613 | COPY 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 |
|
---|
623 | SELECT 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 |
|
---|
632 | COPY django_test.auth_permission (id, name, content_type_id, codename) FROM stdin;
|
---|
633 | 1 Can add choice 1 add_choice
|
---|
634 | 2 Can change choice 1 change_choice
|
---|
635 | 3 Can delete choice 1 delete_choice
|
---|
636 | 4 Can view choice 1 view_choice
|
---|
637 | 5 Can add question 2 add_question
|
---|
638 | 6 Can change question 2 change_question
|
---|
639 | 7 Can delete question 2 delete_question
|
---|
640 | 8 Can view question 2 view_question
|
---|
641 | 9 Can add log entry 3 add_logentry
|
---|
642 | 10 Can change log entry 3 change_logentry
|
---|
643 | 11 Can delete log entry 3 delete_logentry
|
---|
644 | 12 Can view log entry 3 view_logentry
|
---|
645 | 13 Can add user 4 add_user
|
---|
646 | 14 Can change user 4 change_user
|
---|
647 | 15 Can delete user 4 delete_user
|
---|
648 | 16 Can view user 4 view_user
|
---|
649 | 17 Can add group 5 add_group
|
---|
650 | 18 Can change group 5 change_group
|
---|
651 | 19 Can delete group 5 delete_group
|
---|
652 | 20 Can view group 5 view_group
|
---|
653 | 21 Can add permission 6 add_permission
|
---|
654 | 22 Can change permission 6 change_permission
|
---|
655 | 23 Can delete permission 6 delete_permission
|
---|
656 | 24 Can view permission 6 view_permission
|
---|
657 | 25 Can add content type 7 add_contenttype
|
---|
658 | 26 Can change content type 7 change_contenttype
|
---|
659 | 27 Can delete content type 7 delete_contenttype
|
---|
660 | 28 Can view content type 7 view_contenttype
|
---|
661 | 29 Can add session 8 add_session
|
---|
662 | 30 Can change session 8 change_session
|
---|
663 | 31 Can delete session 8 delete_session
|
---|
664 | 32 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 |
|
---|
674 | SELECT 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 |
|
---|
683 | COPY django_test.auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) FROM stdin;
|
---|
684 | 2 pbkdf2_sha256$120000$9pMtDgP7wjci$SbYFjETpPuGC4xtGJyCpGQUbCuIYeoU711gkvOX0aFk= 2018-12-12 16:45:27.348288+01 f notadmin t t 2018-12-12 16:40:54+01
|
---|
685 | 1 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 |
|
---|
695 | COPY 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 |
|
---|
705 | SELECT 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 |
|
---|
714 | SELECT 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 |
|
---|
723 | COPY django_test.auth_user_user_permissions (id, user_id, permission_id) FROM stdin;
|
---|
724 | 1 2 8
|
---|
725 | 2 2 4
|
---|
726 | 3 2 2
|
---|
727 | 4 2 6
|
---|
728 | 5 2 1
|
---|
729 | 6 2 3
|
---|
730 | 7 2 5
|
---|
731 | 8 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 |
|
---|
741 | SELECT 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 |
|
---|
750 | COPY django_test.django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) FROM stdin;
|
---|
751 | 1 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
|
---|
752 | 2 2018-12-12 16:40:54.085729+01 2 notadmin 1 [{"added": {}}] 4 1
|
---|
753 | 3 2018-12-12 16:41:08.78974+01 2 notadmin 2 [{"changed": {"fields": ["is_staff"]}}] 4 1
|
---|
754 | 4 2018-12-12 16:41:53.778446+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
|
---|
755 | 5 2018-12-12 16:42:34.624952+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
|
---|
756 | 6 2018-12-12 16:45:20.556391+01 2 notadmin 2 [{"changed": {"fields": ["user_permissions"]}}] 4 1
|
---|
757 | 7 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 |
|
---|
767 | SELECT 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 |
|
---|
776 | COPY django_test.django_content_type (id, app_label, model) FROM stdin;
|
---|
777 | 1 polls choice
|
---|
778 | 2 polls question
|
---|
779 | 3 admin logentry
|
---|
780 | 4 auth user
|
---|
781 | 5 auth group
|
---|
782 | 6 auth permission
|
---|
783 | 7 contenttypes contenttype
|
---|
784 | 8 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 |
|
---|
794 | SELECT 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 |
|
---|
803 | COPY django_test.django_migrations (id, app, name, applied) FROM stdin;
|
---|
804 | 1 contenttypes 0001_initial 2018-12-12 16:34:26.374462+01
|
---|
805 | 2 auth 0001_initial 2018-12-12 16:34:26.950575+01
|
---|
806 | 3 admin 0001_initial 2018-12-12 16:34:27.108758+01
|
---|
807 | 4 admin 0002_logentry_remove_auto_add 2018-12-12 16:34:27.127581+01
|
---|
808 | 5 admin 0003_logentry_add_action_flag_choices 2018-12-12 16:34:27.158921+01
|
---|
809 | 6 contenttypes 0002_remove_content_type_name 2018-12-12 16:34:27.183101+01
|
---|
810 | 7 auth 0002_alter_permission_name_max_length 2018-12-12 16:34:27.199942+01
|
---|
811 | 8 auth 0003_alter_user_email_max_length 2018-12-12 16:34:27.224856+01
|
---|
812 | 9 auth 0004_alter_user_username_opts 2018-12-12 16:34:27.240763+01
|
---|
813 | 10 auth 0005_alter_user_last_login_null 2018-12-12 16:34:27.267405+01
|
---|
814 | 11 auth 0006_require_contenttypes_0002 2018-12-12 16:34:27.275625+01
|
---|
815 | 12 auth 0007_alter_validators_add_error_messages 2018-12-12 16:34:27.299836+01
|
---|
816 | 13 auth 0008_alter_user_username_max_length 2018-12-12 16:34:27.358851+01
|
---|
817 | 14 auth 0009_alter_user_last_name_max_length 2018-12-12 16:34:27.383734+01
|
---|
818 | 15 polls 0001_initial 2018-12-12 16:34:27.484172+01
|
---|
819 | 16 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 |
|
---|
829 | SELECT 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 |
|
---|
838 | COPY django_test.django_session (session_key, session_data, expire_date) FROM stdin;
|
---|
839 | s2b3wxwdike0az2i4jxymr5dudwpcy6f ZmQ2YjU4YzhkNTNhNWY5YjYyMjEzZjIzMjQyODZiZmY4NTIyN2U0Yjp7Il9hdXRoX3VzZXJfaGFzaCI6IjFhOWNhZTY4ZWEzZmE2YzYxNGIyNWRhMGQ1ZDMwODMyODlmMjYyZWEiLCJfYXV0aF91c2VyX2lkIjoiMiIsIl9hdXRoX3VzZXJfYmFja2VuZCI6ImRqYW5nby5jb250cmliLmF1dGguYmFja2VuZHMuTW9kZWxCYWNrZW5kIn0= 2018-12-26 16:45:27.356914+01
|
---|
840 | gguhc10regrooxpbbidr6k70apinz826 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 |
|
---|
850 | COPY django_test.polls_choice (id, choice_text, votes, test, question_id) FROM stdin;
|
---|
851 | 1 Me 0 t 1
|
---|
852 | 2 You 0 t 1
|
---|
853 | 3 Someone else 0 t 1
|
---|
854 | 4 Fine 0 t 2
|
---|
855 | 5 Damn fine 0 t 2
|
---|
856 | 6 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 |
|
---|
866 | SELECT 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 |
|
---|
875 | COPY django_test.polls_question (id, question_text, pub_date) FROM stdin;
|
---|
876 | 1 Who are you? 2018-12-12 16:40:21+01
|
---|
877 | 2 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 |
|
---|
887 | SELECT 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 |
|
---|
895 | ALTER 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 |
|
---|
904 | ALTER 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 |
|
---|
913 | ALTER 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 |
|
---|
922 | ALTER 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 |
|
---|
931 | ALTER 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 |
|
---|
940 | ALTER 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 |
|
---|
949 | ALTER 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 |
|
---|
958 | ALTER 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 |
|
---|
967 | ALTER 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 |
|
---|
976 | ALTER 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 |
|
---|
985 | ALTER 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 |
|
---|
994 | ALTER 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 |
|
---|
1003 | ALTER 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 |
|
---|
1012 | ALTER 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 |
|
---|
1021 | ALTER 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 |
|
---|
1030 | ALTER 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 |
|
---|
1039 | ALTER 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 |
|
---|
1048 | ALTER 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 |
|
---|
1057 | ALTER 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 |
|
---|
1066 | CREATE 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 |
|
---|
1074 | CREATE 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 |
|
---|
1082 | CREATE 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 |
|
---|
1090 | CREATE 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 |
|
---|
1098 | CREATE 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 |
|
---|
1106 | CREATE 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 |
|
---|
1114 | CREATE 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 |
|
---|
1122 | CREATE 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 |
|
---|
1130 | CREATE 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 |
|
---|
1138 | CREATE 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 |
|
---|
1146 | CREATE 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 |
|
---|
1154 | CREATE 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 |
|
---|
1162 | CREATE 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 |
|
---|
1170 | CREATE 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 |
|
---|
1178 | ALTER 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 |
|
---|
1187 | ALTER 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 |
|
---|
1196 | ALTER 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 |
|
---|
1205 | ALTER 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 |
|
---|
1214 | ALTER 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 |
|
---|
1223 | ALTER 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 |
|
---|
1232 | ALTER 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 |
|
---|
1241 | ALTER 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 |
|
---|
1250 | ALTER 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 |
|
---|
1259 | ALTER 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 |
|
---|