blob: 8e0489fd95f94f2a05be0661d2af59d8b76f3cbb [file] [log] [blame]
Dirk Vogt8e4fe812017-10-09 15:19:06 +02001--
2-- PostgreSQL database dump
3--
4
5-- Dumped from database version 9.6.4
6-- Dumped by pg_dump version 9.6.4
7
8DROP TABLE IF EXISTS account_emailaddress CASCADE;
9DROP TABLE IF EXISTS account_emailconfirmation CASCADE;
10DROP TABLE IF EXISTS auth_group CASCADE;
11DROP TABLE IF EXISTS auth_group_permissions CASCADE;
12DROP TABLE IF EXISTS auth_permission CASCADE;
13DROP TABLE IF EXISTS auth_user CASCADE;
14DROP TABLE IF EXISTS auth_user_groups CASCADE;
15DROP TABLE IF EXISTS auth_user_user_permissions CASCADE;
16DROP TABLE IF EXISTS authtoken_token CASCADE;
17DROP TABLE IF EXISTS crashreport_stats_version CASCADE;
18DROP TABLE IF EXISTS crashreport_stats_versiondaily CASCADE;
19DROP TABLE IF EXISTS crashreports_crashreport CASCADE;
20DROP TABLE IF EXISTS crashreports_device CASCADE;
21DROP TABLE IF EXISTS crashreports_heartbeat CASCADE;
22DROP TABLE IF EXISTS crashreports_logfile CASCADE;
23DROP TABLE IF EXISTS django_admin_log CASCADE;
24DROP TABLE IF EXISTS django_content_type CASCADE;
25DROP TABLE IF EXISTS django_migrations CASCADE;
26DROP TABLE IF EXISTS django_session CASCADE;
27DROP TABLE IF EXISTS django_site CASCADE;
28DROP TABLE IF EXISTS socialaccount_socialaccount CASCADE;
29DROP TABLE IF EXISTS socialaccount_socialapp CASCADE;
30DROP TABLE IF EXISTS socialaccount_socialapp_sites CASCADE;
31DROP TABLE IF EXISTS socialaccount_socialtoken CASCADE;
32DROP TABLE IF EXISTS taggit_tag CASCADE;
33DROP TABLE IF EXISTS taggit_taggeditem CASCADE;
34
35--
36-- PostgreSQL database dump
37--
38
39-- Dumped from database version 9.6.4
40-- Dumped by pg_dump version 9.6.4
41
42SET statement_timeout = 0;
43SET lock_timeout = 0;
44SET idle_in_transaction_session_timeout = 0;
45SET client_encoding = 'UTF8';
46SET standard_conforming_strings = on;
47SET check_function_bodies = false;
48SET client_min_messages = warning;
49SET row_security = off;
50
51
52SET default_tablespace = '';
53
54SET default_with_oids = false;
55
56--
57-- Name: account_emailaddress; Type: TABLE; Schema: public; Owner: hiccupuser
58--
59
60CREATE TABLE account_emailaddress (
61 id integer NOT NULL,
62 verified integer NOT NULL,
63 "primary" integer NOT NULL,
64 user_id integer NOT NULL,
65 email character varying(254) NOT NULL
66);
67
68
69ALTER TABLE account_emailaddress OWNER TO hiccupuser;
70
71--
72-- Name: account_emailaddress_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
73--
74
75CREATE SEQUENCE account_emailaddress_id_seq
76 START WITH 1
77 INCREMENT BY 1
78 NO MINVALUE
79 NO MAXVALUE
80 CACHE 1;
81
82
83ALTER TABLE account_emailaddress_id_seq OWNER TO hiccupuser;
84
85--
86-- Name: account_emailaddress_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
87--
88
89ALTER SEQUENCE account_emailaddress_id_seq OWNED BY account_emailaddress.id;
90
91
92--
93-- Name: account_emailconfirmation; Type: TABLE; Schema: public; Owner: hiccupuser
94--
95
96CREATE TABLE account_emailconfirmation (
97 id integer NOT NULL,
98 created timestamp with time zone NOT NULL,
99 sent timestamp with time zone,
100 key character varying(64) NOT NULL,
101 email_address_id integer NOT NULL
102);
103
104
105ALTER TABLE account_emailconfirmation OWNER TO hiccupuser;
106
107--
108-- Name: account_emailconfirmation_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
109--
110
111CREATE SEQUENCE account_emailconfirmation_id_seq
112 START WITH 1
113 INCREMENT BY 1
114 NO MINVALUE
115 NO MAXVALUE
116 CACHE 1;
117
118
119ALTER TABLE account_emailconfirmation_id_seq OWNER TO hiccupuser;
120
121--
122-- Name: account_emailconfirmation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
123--
124
125ALTER SEQUENCE account_emailconfirmation_id_seq OWNED BY account_emailconfirmation.id;
126
127
128--
129-- Name: auth_group; Type: TABLE; Schema: public; Owner: hiccupuser
130--
131
132CREATE TABLE auth_group (
133 id integer NOT NULL,
134 name character varying(80) NOT NULL
135);
136
137
138ALTER TABLE auth_group OWNER TO hiccupuser;
139
140--
141-- Name: auth_group_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
142--
143
144CREATE SEQUENCE auth_group_id_seq
145 START WITH 1
146 INCREMENT BY 1
147 NO MINVALUE
148 NO MAXVALUE
149 CACHE 1;
150
151
152ALTER TABLE auth_group_id_seq OWNER TO hiccupuser;
153
154--
155-- Name: auth_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
156--
157
158ALTER SEQUENCE auth_group_id_seq OWNED BY auth_group.id;
159
160
161--
162-- Name: auth_group_permissions; Type: TABLE; Schema: public; Owner: hiccupuser
163--
164
165CREATE TABLE auth_group_permissions (
166 id integer NOT NULL,
167 group_id integer NOT NULL,
168 permission_id integer NOT NULL
169);
170
171
172ALTER TABLE auth_group_permissions OWNER TO hiccupuser;
173
174--
175-- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
176--
177
178CREATE SEQUENCE auth_group_permissions_id_seq
179 START WITH 1
180 INCREMENT BY 1
181 NO MINVALUE
182 NO MAXVALUE
183 CACHE 1;
184
185
186ALTER TABLE auth_group_permissions_id_seq OWNER TO hiccupuser;
187
188--
189-- Name: auth_group_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
190--
191
192ALTER SEQUENCE auth_group_permissions_id_seq OWNED BY auth_group_permissions.id;
193
194
195--
196-- Name: auth_permission; Type: TABLE; Schema: public; Owner: hiccupuser
197--
198
199CREATE TABLE auth_permission (
200 id integer NOT NULL,
201 content_type_id integer NOT NULL,
202 codename character varying(100) NOT NULL,
203 name character varying(255) NOT NULL
204);
205
206
207ALTER TABLE auth_permission OWNER TO hiccupuser;
208
209--
210-- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
211--
212
213CREATE SEQUENCE auth_permission_id_seq
214 START WITH 1
215 INCREMENT BY 1
216 NO MINVALUE
217 NO MAXVALUE
218 CACHE 1;
219
220
221ALTER TABLE auth_permission_id_seq OWNER TO hiccupuser;
222
223--
224-- Name: auth_permission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
225--
226
227ALTER SEQUENCE auth_permission_id_seq OWNED BY auth_permission.id;
228
229
230--
231-- Name: auth_user; Type: TABLE; Schema: public; Owner: hiccupuser
232--
233
234CREATE TABLE auth_user (
235 id integer NOT NULL,
236 password character varying(128) NOT NULL,
237 last_login timestamp with time zone,
238 is_superuser integer NOT NULL,
239 first_name character varying(30) NOT NULL,
240 last_name character varying(30) NOT NULL,
241 email character varying(254) NOT NULL,
242 is_staff integer NOT NULL,
243 is_active integer NOT NULL,
244 date_joined timestamp with time zone NOT NULL,
245 username character varying(150) NOT NULL
246);
247
248
249ALTER TABLE auth_user OWNER TO hiccupuser;
250
251--
252-- Name: auth_user_groups; Type: TABLE; Schema: public; Owner: hiccupuser
253--
254
255CREATE TABLE auth_user_groups (
256 id integer NOT NULL,
257 user_id integer NOT NULL,
258 group_id integer NOT NULL
259);
260
261
262ALTER TABLE auth_user_groups OWNER TO hiccupuser;
263
264--
265-- Name: auth_user_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
266--
267
268CREATE SEQUENCE auth_user_groups_id_seq
269 START WITH 1
270 INCREMENT BY 1
271 NO MINVALUE
272 NO MAXVALUE
273 CACHE 1;
274
275
276ALTER TABLE auth_user_groups_id_seq OWNER TO hiccupuser;
277
278--
279-- Name: auth_user_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
280--
281
282ALTER SEQUENCE auth_user_groups_id_seq OWNED BY auth_user_groups.id;
283
284
285--
286-- Name: auth_user_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
287--
288
289CREATE SEQUENCE auth_user_id_seq
290 START WITH 1
291 INCREMENT BY 1
292 NO MINVALUE
293 NO MAXVALUE
294 CACHE 1;
295
296
297ALTER TABLE auth_user_id_seq OWNER TO hiccupuser;
298
299--
300-- Name: auth_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
301--
302
303ALTER SEQUENCE auth_user_id_seq OWNED BY auth_user.id;
304
305
306--
307-- Name: auth_user_user_permissions; Type: TABLE; Schema: public; Owner: hiccupuser
308--
309
310CREATE TABLE auth_user_user_permissions (
311 id integer NOT NULL,
312 user_id integer NOT NULL,
313 permission_id integer NOT NULL
314);
315
316
317ALTER TABLE auth_user_user_permissions OWNER TO hiccupuser;
318
319--
320-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
321--
322
323CREATE SEQUENCE auth_user_user_permissions_id_seq
324 START WITH 1
325 INCREMENT BY 1
326 NO MINVALUE
327 NO MAXVALUE
328 CACHE 1;
329
330
331ALTER TABLE auth_user_user_permissions_id_seq OWNER TO hiccupuser;
332
333--
334-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
335--
336
337ALTER SEQUENCE auth_user_user_permissions_id_seq OWNED BY auth_user_user_permissions.id;
338
339
340--
341-- Name: authtoken_token; Type: TABLE; Schema: public; Owner: hiccupuser
342--
343
344CREATE TABLE authtoken_token (
345 key character varying(40) NOT NULL,
346 created timestamp with time zone NOT NULL,
347 user_id integer NOT NULL
348);
349
350
351ALTER TABLE authtoken_token OWNER TO hiccupuser;
352
353--
354-- Name: crashreport_stats_version; Type: TABLE; Schema: public; Owner: hiccupuser
355--
356
357CREATE TABLE crashreport_stats_version (
358 id integer NOT NULL,
359 build_fingerprint character varying(200) NOT NULL,
360 is_official_release integer NOT NULL,
361 is_beta_release integer NOT NULL,
362 first_seen_on date NOT NULL,
363 released_on date NOT NULL,
364 heartbeats integer NOT NULL,
365 prob_crashes integer NOT NULL,
366 smpl integer NOT NULL,
367 other integer NOT NULL
368);
369
370
371ALTER TABLE crashreport_stats_version OWNER TO hiccupuser;
372
373--
374-- Name: crashreport_stats_version_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
375--
376
377CREATE SEQUENCE crashreport_stats_version_id_seq
378 START WITH 1
379 INCREMENT BY 1
380 NO MINVALUE
381 NO MAXVALUE
382 CACHE 1;
383
384
385ALTER TABLE crashreport_stats_version_id_seq OWNER TO hiccupuser;
386
387--
388-- Name: crashreport_stats_version_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
389--
390
391ALTER SEQUENCE crashreport_stats_version_id_seq OWNED BY crashreport_stats_version.id;
392
393
394--
395-- Name: crashreport_stats_versiondaily; Type: TABLE; Schema: public; Owner: hiccupuser
396--
397
398CREATE TABLE crashreport_stats_versiondaily (
399 id integer NOT NULL,
400 date date NOT NULL,
401 heartbeats integer NOT NULL,
402 prob_crashes integer NOT NULL,
403 smpl integer NOT NULL,
404 other integer NOT NULL,
405 version_id integer NOT NULL
406);
407
408
409ALTER TABLE crashreport_stats_versiondaily OWNER TO hiccupuser;
410
411--
412-- Name: crashreport_stats_versiondaily_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
413--
414
415CREATE SEQUENCE crashreport_stats_versiondaily_id_seq
416 START WITH 1
417 INCREMENT BY 1
418 NO MINVALUE
419 NO MAXVALUE
420 CACHE 1;
421
422
423ALTER TABLE crashreport_stats_versiondaily_id_seq OWNER TO hiccupuser;
424
425--
426-- Name: crashreport_stats_versiondaily_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
427--
428
429ALTER SEQUENCE crashreport_stats_versiondaily_id_seq OWNED BY crashreport_stats_versiondaily.id;
430
431
432--
433-- Name: crashreports_crashreport; Type: TABLE; Schema: public; Owner: hiccupuser
434--
435
436CREATE TABLE crashreports_crashreport (
437 id integer NOT NULL,
438 is_fake_report integer NOT NULL,
439 app_version integer NOT NULL,
440 uptime character varying(200) NOT NULL,
441 build_fingerprint character varying(200) NOT NULL,
442 boot_reason character varying(200) NOT NULL,
443 power_off_reason character varying(200) NOT NULL,
444 date timestamp with time zone NOT NULL,
445 device_local_id integer NOT NULL,
446 next_logfile_key integer NOT NULL,
447 created_at timestamp with time zone NOT NULL,
448 device_id integer NOT NULL,
449 power_on_reason character varying(200) NOT NULL,
450 CONSTRAINT crashreports_crashreport_device_local_id_check CHECK ((device_local_id >= 0)),
451 CONSTRAINT crashreports_crashreport_next_logfile_key_check CHECK ((next_logfile_key >= 0))
452);
453
454
455ALTER TABLE crashreports_crashreport OWNER TO hiccupuser;
456
457--
458-- Name: crashreports_crashreport_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
459--
460
461CREATE SEQUENCE crashreports_crashreport_id_seq
462 START WITH 1
463 INCREMENT BY 1
464 NO MINVALUE
465 NO MAXVALUE
466 CACHE 1;
467
468
469ALTER TABLE crashreports_crashreport_id_seq OWNER TO hiccupuser;
470
471--
472-- Name: crashreports_crashreport_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
473--
474
475ALTER SEQUENCE crashreports_crashreport_id_seq OWNED BY crashreports_crashreport.id;
476
477
478--
479-- Name: crashreports_device; Type: TABLE; Schema: public; Owner: hiccupuser
480--
481
482CREATE TABLE crashreports_device (
483 id integer NOT NULL,
484 imei character varying(32),
485 board_date timestamp with time zone,
486 chipset character varying(200),
487 last_heartbeat timestamp with time zone,
488 token character varying(200),
489 next_per_crashreport_key integer NOT NULL,
490 next_per_heartbeat_key integer NOT NULL,
491 user_id integer NOT NULL,
492 uuid character varying(64) NOT NULL,
493 CONSTRAINT crashreports_device_next_per_crashreport_key_check CHECK ((next_per_crashreport_key >= 0)),
494 CONSTRAINT crashreports_device_next_per_heartbeat_key_check CHECK ((next_per_heartbeat_key >= 0))
495);
496
497
498ALTER TABLE crashreports_device OWNER TO hiccupuser;
499
500--
501-- Name: crashreports_device_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
502--
503
504CREATE SEQUENCE crashreports_device_id_seq
505 START WITH 1
506 INCREMENT BY 1
507 NO MINVALUE
508 NO MAXVALUE
509 CACHE 1;
510
511
512ALTER TABLE crashreports_device_id_seq OWNER TO hiccupuser;
513
514--
515-- Name: crashreports_device_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
516--
517
518ALTER SEQUENCE crashreports_device_id_seq OWNED BY crashreports_device.id;
519
520
521--
522-- Name: crashreports_heartbeat; Type: TABLE; Schema: public; Owner: hiccupuser
523--
524
525CREATE TABLE crashreports_heartbeat (
526 id integer NOT NULL,
527 app_version integer NOT NULL,
528 uptime character varying(200) NOT NULL,
529 build_fingerprint character varying(200) NOT NULL,
530 device_local_id integer NOT NULL,
531 created_at timestamp with time zone NOT NULL,
532 device_id integer NOT NULL,
533 date timestamp with time zone NOT NULL,
534 CONSTRAINT crashreports_heartbeat_device_local_id_check CHECK ((device_local_id >= 0))
535);
536
537
538ALTER TABLE crashreports_heartbeat OWNER TO hiccupuser;
539
540--
541-- Name: crashreports_heartbeat_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
542--
543
544CREATE SEQUENCE crashreports_heartbeat_id_seq
545 START WITH 1
546 INCREMENT BY 1
547 NO MINVALUE
548 NO MAXVALUE
549 CACHE 1;
550
551
552ALTER TABLE crashreports_heartbeat_id_seq OWNER TO hiccupuser;
553
554--
555-- Name: crashreports_heartbeat_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
556--
557
558ALTER SEQUENCE crashreports_heartbeat_id_seq OWNED BY crashreports_heartbeat.id;
559
560
561--
562-- Name: crashreports_logfile; Type: TABLE; Schema: public; Owner: hiccupuser
563--
564
565CREATE TABLE crashreports_logfile (
566 id integer NOT NULL,
567 logfile_type text NOT NULL,
568 logfile character varying(500) NOT NULL,
569 crashreport_local_id integer NOT NULL,
570 created_at timestamp with time zone NOT NULL,
571 crashreport_id integer NOT NULL,
572 CONSTRAINT crashreports_logfile_crashreport_local_id_check CHECK ((crashreport_local_id >= 0))
573);
574
575
576ALTER TABLE crashreports_logfile OWNER TO hiccupuser;
577
578--
579-- Name: crashreports_logfile_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
580--
581
582CREATE SEQUENCE crashreports_logfile_id_seq
583 START WITH 1
584 INCREMENT BY 1
585 NO MINVALUE
586 NO MAXVALUE
587 CACHE 1;
588
589
590ALTER TABLE crashreports_logfile_id_seq OWNER TO hiccupuser;
591
592--
593-- Name: crashreports_logfile_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
594--
595
596ALTER SEQUENCE crashreports_logfile_id_seq OWNED BY crashreports_logfile.id;
597
598
599--
600-- Name: django_admin_log; Type: TABLE; Schema: public; Owner: hiccupuser
601--
602
603CREATE TABLE django_admin_log (
604 id integer NOT NULL,
605 object_id text,
606 object_repr character varying(200) NOT NULL,
607 action_flag smallint NOT NULL,
608 change_message text NOT NULL,
609 content_type_id integer,
610 user_id integer NOT NULL,
611 action_time timestamp with time zone NOT NULL,
612 CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
613);
614
615
616ALTER TABLE django_admin_log OWNER TO hiccupuser;
617
618--
619-- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
620--
621
622CREATE SEQUENCE django_admin_log_id_seq
623 START WITH 1
624 INCREMENT BY 1
625 NO MINVALUE
626 NO MAXVALUE
627 CACHE 1;
628
629
630ALTER TABLE django_admin_log_id_seq OWNER TO hiccupuser;
631
632--
633-- Name: django_admin_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
634--
635
636ALTER SEQUENCE django_admin_log_id_seq OWNED BY django_admin_log.id;
637
638
639--
640-- Name: django_content_type; Type: TABLE; Schema: public; Owner: hiccupuser
641--
642
643CREATE TABLE django_content_type (
644 id integer NOT NULL,
645 app_label character varying(100) NOT NULL,
646 model character varying(100) NOT NULL
647);
648
649
650ALTER TABLE django_content_type OWNER TO hiccupuser;
651
652--
653-- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
654--
655
656CREATE SEQUENCE django_content_type_id_seq
657 START WITH 1
658 INCREMENT BY 1
659 NO MINVALUE
660 NO MAXVALUE
661 CACHE 1;
662
663
664ALTER TABLE django_content_type_id_seq OWNER TO hiccupuser;
665
666--
667-- Name: django_content_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
668--
669
670ALTER SEQUENCE django_content_type_id_seq OWNED BY django_content_type.id;
671
672
673--
674-- Name: django_migrations; Type: TABLE; Schema: public; Owner: hiccupuser
675--
676
677CREATE TABLE django_migrations (
678 id integer NOT NULL,
679 app character varying(255) NOT NULL,
680 name character varying(255) NOT NULL,
681 applied timestamp with time zone NOT NULL
682);
683
684
685ALTER TABLE django_migrations OWNER TO hiccupuser;
686
687--
688-- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
689--
690
691CREATE SEQUENCE django_migrations_id_seq
692 START WITH 1
693 INCREMENT BY 1
694 NO MINVALUE
695 NO MAXVALUE
696 CACHE 1;
697
698
699ALTER TABLE django_migrations_id_seq OWNER TO hiccupuser;
700
701--
702-- Name: django_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
703--
704
705ALTER SEQUENCE django_migrations_id_seq OWNED BY django_migrations.id;
706
707
708--
709-- Name: django_session; Type: TABLE; Schema: public; Owner: hiccupuser
710--
711
712CREATE TABLE django_session (
713 session_key character varying(40) NOT NULL,
714 session_data text NOT NULL,
715 expire_date timestamp with time zone NOT NULL
716);
717
718
719ALTER TABLE django_session OWNER TO hiccupuser;
720
721--
722-- Name: django_site; Type: TABLE; Schema: public; Owner: hiccupuser
723--
724
725CREATE TABLE django_site (
726 id integer NOT NULL,
727 domain character varying(100) NOT NULL,
728 name character varying(50) NOT NULL
729);
730
731
732ALTER TABLE django_site OWNER TO hiccupuser;
733
734--
735-- Name: django_site_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
736--
737
738CREATE SEQUENCE django_site_id_seq
739 START WITH 1
740 INCREMENT BY 1
741 NO MINVALUE
742 NO MAXVALUE
743 CACHE 1;
744
745
746ALTER TABLE django_site_id_seq OWNER TO hiccupuser;
747
748--
749-- Name: django_site_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
750--
751
752ALTER SEQUENCE django_site_id_seq OWNED BY django_site.id;
753
754
755--
756-- Name: socialaccount_socialaccount; Type: TABLE; Schema: public; Owner: hiccupuser
757--
758
759CREATE TABLE socialaccount_socialaccount (
760 id integer NOT NULL,
761 provider character varying(30) NOT NULL,
762 uid character varying(191) NOT NULL,
763 last_login timestamp with time zone NOT NULL,
764 date_joined timestamp with time zone NOT NULL,
765 user_id integer NOT NULL,
766 extra_data text NOT NULL
767);
768
769
770ALTER TABLE socialaccount_socialaccount OWNER TO hiccupuser;
771
772--
773-- Name: socialaccount_socialaccount_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
774--
775
776CREATE SEQUENCE socialaccount_socialaccount_id_seq
777 START WITH 1
778 INCREMENT BY 1
779 NO MINVALUE
780 NO MAXVALUE
781 CACHE 1;
782
783
784ALTER TABLE socialaccount_socialaccount_id_seq OWNER TO hiccupuser;
785
786--
787-- Name: socialaccount_socialaccount_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
788--
789
790ALTER SEQUENCE socialaccount_socialaccount_id_seq OWNED BY socialaccount_socialaccount.id;
791
792
793--
794-- Name: socialaccount_socialapp; Type: TABLE; Schema: public; Owner: hiccupuser
795--
796
797CREATE TABLE socialaccount_socialapp (
798 id integer NOT NULL,
799 provider character varying(30) NOT NULL,
800 name character varying(40) NOT NULL,
801 client_id character varying(191) NOT NULL,
802 key character varying(191) NOT NULL,
803 secret character varying(191) NOT NULL
804);
805
806
807ALTER TABLE socialaccount_socialapp OWNER TO hiccupuser;
808
809--
810-- Name: socialaccount_socialapp_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
811--
812
813CREATE SEQUENCE socialaccount_socialapp_id_seq
814 START WITH 1
815 INCREMENT BY 1
816 NO MINVALUE
817 NO MAXVALUE
818 CACHE 1;
819
820
821ALTER TABLE socialaccount_socialapp_id_seq OWNER TO hiccupuser;
822
823--
824-- Name: socialaccount_socialapp_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
825--
826
827ALTER SEQUENCE socialaccount_socialapp_id_seq OWNED BY socialaccount_socialapp.id;
828
829
830--
831-- Name: socialaccount_socialapp_sites; Type: TABLE; Schema: public; Owner: hiccupuser
832--
833
834CREATE TABLE socialaccount_socialapp_sites (
835 id integer NOT NULL,
836 socialapp_id integer NOT NULL,
837 site_id integer NOT NULL
838);
839
840
841ALTER TABLE socialaccount_socialapp_sites OWNER TO hiccupuser;
842
843--
844-- Name: socialaccount_socialapp_sites_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
845--
846
847CREATE SEQUENCE socialaccount_socialapp_sites_id_seq
848 START WITH 1
849 INCREMENT BY 1
850 NO MINVALUE
851 NO MAXVALUE
852 CACHE 1;
853
854
855ALTER TABLE socialaccount_socialapp_sites_id_seq OWNER TO hiccupuser;
856
857--
858-- Name: socialaccount_socialapp_sites_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
859--
860
861ALTER SEQUENCE socialaccount_socialapp_sites_id_seq OWNED BY socialaccount_socialapp_sites.id;
862
863
864--
865-- Name: socialaccount_socialtoken; Type: TABLE; Schema: public; Owner: hiccupuser
866--
867
868CREATE TABLE socialaccount_socialtoken (
869 id integer NOT NULL,
870 token text NOT NULL,
871 token_secret text NOT NULL,
872 expires_at timestamp with time zone,
873 account_id integer NOT NULL,
874 app_id integer NOT NULL
875);
876
877
878ALTER TABLE socialaccount_socialtoken OWNER TO hiccupuser;
879
880--
881-- Name: socialaccount_socialtoken_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
882--
883
884CREATE SEQUENCE socialaccount_socialtoken_id_seq
885 START WITH 1
886 INCREMENT BY 1
887 NO MINVALUE
888 NO MAXVALUE
889 CACHE 1;
890
891
892ALTER TABLE socialaccount_socialtoken_id_seq OWNER TO hiccupuser;
893
894--
895-- Name: socialaccount_socialtoken_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
896--
897
898ALTER SEQUENCE socialaccount_socialtoken_id_seq OWNED BY socialaccount_socialtoken.id;
899
900
901--
902-- Name: taggit_tag; Type: TABLE; Schema: public; Owner: hiccupuser
903--
904
905CREATE TABLE taggit_tag (
906 id integer NOT NULL,
907 name character varying(100) NOT NULL,
908 slug character varying(100) NOT NULL
909);
910
911
912ALTER TABLE taggit_tag OWNER TO hiccupuser;
913
914--
915-- Name: taggit_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
916--
917
918CREATE SEQUENCE taggit_tag_id_seq
919 START WITH 1
920 INCREMENT BY 1
921 NO MINVALUE
922 NO MAXVALUE
923 CACHE 1;
924
925
926ALTER TABLE taggit_tag_id_seq OWNER TO hiccupuser;
927
928--
929-- Name: taggit_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
930--
931
932ALTER SEQUENCE taggit_tag_id_seq OWNED BY taggit_tag.id;
933
934
935--
936-- Name: taggit_taggeditem; Type: TABLE; Schema: public; Owner: hiccupuser
937--
938
939CREATE TABLE taggit_taggeditem (
940 id integer NOT NULL,
941 object_id integer NOT NULL,
942 content_type_id integer NOT NULL,
943 tag_id integer NOT NULL
944);
945
946
947ALTER TABLE taggit_taggeditem OWNER TO hiccupuser;
948
949--
950-- Name: taggit_taggeditem_id_seq; Type: SEQUENCE; Schema: public; Owner: hiccupuser
951--
952
953CREATE SEQUENCE taggit_taggeditem_id_seq
954 START WITH 1
955 INCREMENT BY 1
956 NO MINVALUE
957 NO MAXVALUE
958 CACHE 1;
959
960
961ALTER TABLE taggit_taggeditem_id_seq OWNER TO hiccupuser;
962
963--
964-- Name: taggit_taggeditem_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: hiccupuser
965--
966
967ALTER SEQUENCE taggit_taggeditem_id_seq OWNED BY taggit_taggeditem.id;
968
969
970--
971-- Name: account_emailaddress id; Type: DEFAULT; Schema: public; Owner: hiccupuser
972--
973
974ALTER TABLE ONLY account_emailaddress ALTER COLUMN id SET DEFAULT nextval('account_emailaddress_id_seq'::regclass);
975
976
977--
978-- Name: account_emailconfirmation id; Type: DEFAULT; Schema: public; Owner: hiccupuser
979--
980
981ALTER TABLE ONLY account_emailconfirmation ALTER COLUMN id SET DEFAULT nextval('account_emailconfirmation_id_seq'::regclass);
982
983
984--
985-- Name: auth_group id; Type: DEFAULT; Schema: public; Owner: hiccupuser
986--
987
988ALTER TABLE ONLY auth_group ALTER COLUMN id SET DEFAULT nextval('auth_group_id_seq'::regclass);
989
990
991--
992-- Name: auth_group_permissions id; Type: DEFAULT; Schema: public; Owner: hiccupuser
993--
994
995ALTER TABLE ONLY auth_group_permissions ALTER COLUMN id SET DEFAULT nextval('auth_group_permissions_id_seq'::regclass);
996
997
998--
999-- Name: auth_permission id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1000--
1001
1002ALTER TABLE ONLY auth_permission ALTER COLUMN id SET DEFAULT nextval('auth_permission_id_seq'::regclass);
1003
1004
1005--
1006-- Name: auth_user id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1007--
1008
1009ALTER TABLE ONLY auth_user ALTER COLUMN id SET DEFAULT nextval('auth_user_id_seq'::regclass);
1010
1011
1012--
1013-- Name: auth_user_groups id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1014--
1015
1016ALTER TABLE ONLY auth_user_groups ALTER COLUMN id SET DEFAULT nextval('auth_user_groups_id_seq'::regclass);
1017
1018
1019--
1020-- Name: auth_user_user_permissions id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1021--
1022
1023ALTER TABLE ONLY auth_user_user_permissions ALTER COLUMN id SET DEFAULT nextval('auth_user_user_permissions_id_seq'::regclass);
1024
1025
1026--
1027-- Name: crashreport_stats_version id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1028--
1029
1030ALTER TABLE ONLY crashreport_stats_version ALTER COLUMN id SET DEFAULT nextval('crashreport_stats_version_id_seq'::regclass);
1031
1032
1033--
1034-- Name: crashreport_stats_versiondaily id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1035--
1036
1037ALTER TABLE ONLY crashreport_stats_versiondaily ALTER COLUMN id SET DEFAULT nextval('crashreport_stats_versiondaily_id_seq'::regclass);
1038
1039
1040--
1041-- Name: crashreports_crashreport id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1042--
1043
1044ALTER TABLE ONLY crashreports_crashreport ALTER COLUMN id SET DEFAULT nextval('crashreports_crashreport_id_seq'::regclass);
1045
1046
1047--
1048-- Name: crashreports_device id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1049--
1050
1051ALTER TABLE ONLY crashreports_device ALTER COLUMN id SET DEFAULT nextval('crashreports_device_id_seq'::regclass);
1052
1053
1054--
1055-- Name: crashreports_heartbeat id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1056--
1057
1058ALTER TABLE ONLY crashreports_heartbeat ALTER COLUMN id SET DEFAULT nextval('crashreports_heartbeat_id_seq'::regclass);
1059
1060
1061--
1062-- Name: crashreports_logfile id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1063--
1064
1065ALTER TABLE ONLY crashreports_logfile ALTER COLUMN id SET DEFAULT nextval('crashreports_logfile_id_seq'::regclass);
1066
1067
1068--
1069-- Name: django_admin_log id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1070--
1071
1072ALTER TABLE ONLY django_admin_log ALTER COLUMN id SET DEFAULT nextval('django_admin_log_id_seq'::regclass);
1073
1074
1075--
1076-- Name: django_content_type id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1077--
1078
1079ALTER TABLE ONLY django_content_type ALTER COLUMN id SET DEFAULT nextval('django_content_type_id_seq'::regclass);
1080
1081
1082--
1083-- Name: django_migrations id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1084--
1085
1086ALTER TABLE ONLY django_migrations ALTER COLUMN id SET DEFAULT nextval('django_migrations_id_seq'::regclass);
1087
1088
1089--
1090-- Name: django_site id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1091--
1092
1093ALTER TABLE ONLY django_site ALTER COLUMN id SET DEFAULT nextval('django_site_id_seq'::regclass);
1094
1095
1096--
1097-- Name: socialaccount_socialaccount id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1098--
1099
1100ALTER TABLE ONLY socialaccount_socialaccount ALTER COLUMN id SET DEFAULT nextval('socialaccount_socialaccount_id_seq'::regclass);
1101
1102
1103--
1104-- Name: socialaccount_socialapp id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1105--
1106
1107ALTER TABLE ONLY socialaccount_socialapp ALTER COLUMN id SET DEFAULT nextval('socialaccount_socialapp_id_seq'::regclass);
1108
1109
1110--
1111-- Name: socialaccount_socialapp_sites id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1112--
1113
1114ALTER TABLE ONLY socialaccount_socialapp_sites ALTER COLUMN id SET DEFAULT nextval('socialaccount_socialapp_sites_id_seq'::regclass);
1115
1116
1117--
1118-- Name: socialaccount_socialtoken id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1119--
1120
1121ALTER TABLE ONLY socialaccount_socialtoken ALTER COLUMN id SET DEFAULT nextval('socialaccount_socialtoken_id_seq'::regclass);
1122
1123
1124--
1125-- Name: taggit_tag id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1126--
1127
1128ALTER TABLE ONLY taggit_tag ALTER COLUMN id SET DEFAULT nextval('taggit_tag_id_seq'::regclass);
1129
1130
1131--
1132-- Name: taggit_taggeditem id; Type: DEFAULT; Schema: public; Owner: hiccupuser
1133--
1134
1135ALTER TABLE ONLY taggit_taggeditem ALTER COLUMN id SET DEFAULT nextval('taggit_taggeditem_id_seq'::regclass);
1136
1137
1138--
1139-- Name: account_emailaddress account_emailaddress_email_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1140--
1141
1142ALTER TABLE ONLY account_emailaddress
1143 ADD CONSTRAINT account_emailaddress_email_key UNIQUE (email);
1144
1145
1146--
1147-- Name: account_emailaddress account_emailaddress_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1148--
1149
1150ALTER TABLE ONLY account_emailaddress
1151 ADD CONSTRAINT account_emailaddress_pkey PRIMARY KEY (id);
1152
1153
1154--
1155-- Name: account_emailconfirmation account_emailconfirmation_key_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1156--
1157
1158ALTER TABLE ONLY account_emailconfirmation
1159 ADD CONSTRAINT account_emailconfirmation_key_key UNIQUE (key);
1160
1161
1162--
1163-- Name: account_emailconfirmation account_emailconfirmation_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1164--
1165
1166ALTER TABLE ONLY account_emailconfirmation
1167 ADD CONSTRAINT account_emailconfirmation_pkey PRIMARY KEY (id);
1168
1169
1170--
1171-- Name: auth_group auth_group_name_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1172--
1173
1174ALTER TABLE ONLY auth_group
1175 ADD CONSTRAINT auth_group_name_key UNIQUE (name);
1176
1177
1178--
1179-- Name: auth_group_permissions auth_group_permissions_group_id_0cd325b0_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1180--
1181
1182ALTER TABLE ONLY auth_group_permissions
1183 ADD CONSTRAINT auth_group_permissions_group_id_0cd325b0_uniq UNIQUE (group_id, permission_id);
1184
1185
1186--
1187-- Name: auth_group_permissions auth_group_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1188--
1189
1190ALTER TABLE ONLY auth_group_permissions
1191 ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);
1192
1193
1194--
1195-- Name: auth_group auth_group_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1196--
1197
1198ALTER TABLE ONLY auth_group
1199 ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);
1200
1201
1202--
1203-- Name: auth_permission auth_permission_content_type_id_01ab375a_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1204--
1205
1206ALTER TABLE ONLY auth_permission
1207 ADD CONSTRAINT auth_permission_content_type_id_01ab375a_uniq UNIQUE (content_type_id, codename);
1208
1209
1210--
1211-- Name: auth_permission auth_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1212--
1213
1214ALTER TABLE ONLY auth_permission
1215 ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);
1216
1217
1218--
1219-- Name: auth_user_groups auth_user_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1220--
1221
1222ALTER TABLE ONLY auth_user_groups
1223 ADD CONSTRAINT auth_user_groups_pkey PRIMARY KEY (id);
1224
1225
1226--
1227-- Name: auth_user_groups auth_user_groups_user_id_94350c0c_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1228--
1229
1230ALTER TABLE ONLY auth_user_groups
1231 ADD CONSTRAINT auth_user_groups_user_id_94350c0c_uniq UNIQUE (user_id, group_id);
1232
1233
1234--
1235-- Name: auth_user auth_user_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1236--
1237
1238ALTER TABLE ONLY auth_user
1239 ADD CONSTRAINT auth_user_pkey PRIMARY KEY (id);
1240
1241
1242--
1243-- Name: auth_user_user_permissions auth_user_user_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1244--
1245
1246ALTER TABLE ONLY auth_user_user_permissions
1247 ADD CONSTRAINT auth_user_user_permissions_pkey PRIMARY KEY (id);
1248
1249
1250--
1251-- Name: auth_user_user_permissions auth_user_user_permissions_user_id_14a6b632_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1252--
1253
1254ALTER TABLE ONLY auth_user_user_permissions
1255 ADD CONSTRAINT auth_user_user_permissions_user_id_14a6b632_uniq UNIQUE (user_id, permission_id);
1256
1257
1258--
1259-- Name: auth_user auth_user_username_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1260--
1261
1262ALTER TABLE ONLY auth_user
1263 ADD CONSTRAINT auth_user_username_key UNIQUE (username);
1264
1265
1266--
1267-- Name: authtoken_token authtoken_token_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1268--
1269
1270ALTER TABLE ONLY authtoken_token
1271 ADD CONSTRAINT authtoken_token_pkey PRIMARY KEY (key);
1272
1273
1274--
1275-- Name: authtoken_token authtoken_token_user_id_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1276--
1277
1278ALTER TABLE ONLY authtoken_token
1279 ADD CONSTRAINT authtoken_token_user_id_key UNIQUE (user_id);
1280
1281
1282--
1283-- Name: crashreport_stats_version crashreport_stats_version_build_fingerprint_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1284--
1285
1286ALTER TABLE ONLY crashreport_stats_version
1287 ADD CONSTRAINT crashreport_stats_version_build_fingerprint_key UNIQUE (build_fingerprint);
1288
1289
1290--
1291-- Name: crashreport_stats_version crashreport_stats_version_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1292--
1293
1294ALTER TABLE ONLY crashreport_stats_version
1295 ADD CONSTRAINT crashreport_stats_version_pkey PRIMARY KEY (id);
1296
1297
1298--
1299-- Name: crashreport_stats_versiondaily crashreport_stats_versiondaily_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1300--
1301
1302ALTER TABLE ONLY crashreport_stats_versiondaily
1303 ADD CONSTRAINT crashreport_stats_versiondaily_pkey PRIMARY KEY (id);
1304
1305
1306--
1307-- Name: crashreports_crashreport crashreports_crashreport_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1308--
1309
1310ALTER TABLE ONLY crashreports_crashreport
1311 ADD CONSTRAINT crashreports_crashreport_pkey PRIMARY KEY (id);
1312
1313
1314--
1315-- Name: crashreports_device crashreports_device_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1316--
1317
1318ALTER TABLE ONLY crashreports_device
1319 ADD CONSTRAINT crashreports_device_pkey PRIMARY KEY (id);
1320
1321
1322--
1323-- Name: crashreports_device crashreports_device_user_id_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1324--
1325
1326ALTER TABLE ONLY crashreports_device
1327 ADD CONSTRAINT crashreports_device_user_id_key UNIQUE (user_id);
1328
1329
1330--
1331-- Name: crashreports_device crashreports_device_uuid_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1332--
1333
1334ALTER TABLE ONLY crashreports_device
1335 ADD CONSTRAINT crashreports_device_uuid_key UNIQUE (uuid);
1336
1337
1338--
1339-- Name: crashreports_heartbeat crashreports_heartbeat_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1340--
1341
1342ALTER TABLE ONLY crashreports_heartbeat
1343 ADD CONSTRAINT crashreports_heartbeat_pkey PRIMARY KEY (id);
1344
1345
1346--
1347-- Name: crashreports_logfile crashreports_logfile_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1348--
1349
1350ALTER TABLE ONLY crashreports_logfile
1351 ADD CONSTRAINT crashreports_logfile_pkey PRIMARY KEY (id);
1352
1353
1354--
1355-- Name: django_admin_log django_admin_log_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1356--
1357
1358ALTER TABLE ONLY django_admin_log
1359 ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);
1360
1361
1362--
1363-- Name: django_content_type django_content_type_app_label_76bd3d3b_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1364--
1365
1366ALTER TABLE ONLY django_content_type
1367 ADD CONSTRAINT django_content_type_app_label_76bd3d3b_uniq UNIQUE (app_label, model);
1368
1369
1370--
1371-- Name: django_content_type django_content_type_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1372--
1373
1374ALTER TABLE ONLY django_content_type
1375 ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);
1376
1377
1378--
1379-- Name: django_migrations django_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1380--
1381
1382ALTER TABLE ONLY django_migrations
1383 ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);
1384
1385
1386--
1387-- Name: django_session django_session_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1388--
1389
1390ALTER TABLE ONLY django_session
1391 ADD CONSTRAINT django_session_pkey PRIMARY KEY (session_key);
1392
1393
1394--
1395-- Name: django_site django_site_domain_a2e37b91_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1396--
1397
1398ALTER TABLE ONLY django_site
1399 ADD CONSTRAINT django_site_domain_a2e37b91_uniq UNIQUE (domain);
1400
1401
1402--
1403-- Name: django_site django_site_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1404--
1405
1406ALTER TABLE ONLY django_site
1407 ADD CONSTRAINT django_site_pkey PRIMARY KEY (id);
1408
1409
1410--
1411-- Name: socialaccount_socialaccount socialaccount_socialaccount_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1412--
1413
1414ALTER TABLE ONLY socialaccount_socialaccount
1415 ADD CONSTRAINT socialaccount_socialaccount_pkey PRIMARY KEY (id);
1416
1417
1418--
1419-- Name: socialaccount_socialaccount socialaccount_socialaccount_provider_fc810c6e_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1420--
1421
1422ALTER TABLE ONLY socialaccount_socialaccount
1423 ADD CONSTRAINT socialaccount_socialaccount_provider_fc810c6e_uniq UNIQUE (provider, uid);
1424
1425
1426--
1427-- Name: socialaccount_socialapp socialaccount_socialapp_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1428--
1429
1430ALTER TABLE ONLY socialaccount_socialapp
1431 ADD CONSTRAINT socialaccount_socialapp_pkey PRIMARY KEY (id);
1432
1433
1434--
1435-- Name: socialaccount_socialapp_sites socialaccount_socialapp_sites_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1436--
1437
1438ALTER TABLE ONLY socialaccount_socialapp_sites
1439 ADD CONSTRAINT socialaccount_socialapp_sites_pkey PRIMARY KEY (id);
1440
1441
1442--
1443-- Name: socialaccount_socialapp_sites socialaccount_socialapp_sites_socialapp_id_71a9a768_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1444--
1445
1446ALTER TABLE ONLY socialaccount_socialapp_sites
1447 ADD CONSTRAINT socialaccount_socialapp_sites_socialapp_id_71a9a768_uniq UNIQUE (socialapp_id, site_id);
1448
1449
1450--
1451-- Name: socialaccount_socialtoken socialaccount_socialtoken_app_id_fca4e0ac_uniq; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1452--
1453
1454ALTER TABLE ONLY socialaccount_socialtoken
1455 ADD CONSTRAINT socialaccount_socialtoken_app_id_fca4e0ac_uniq UNIQUE (app_id, account_id);
1456
1457
1458--
1459-- Name: socialaccount_socialtoken socialaccount_socialtoken_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1460--
1461
1462ALTER TABLE ONLY socialaccount_socialtoken
1463 ADD CONSTRAINT socialaccount_socialtoken_pkey PRIMARY KEY (id);
1464
1465
1466--
1467-- Name: taggit_tag taggit_tag_name_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1468--
1469
1470ALTER TABLE ONLY taggit_tag
1471 ADD CONSTRAINT taggit_tag_name_key UNIQUE (name);
1472
1473
1474--
1475-- Name: taggit_tag taggit_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1476--
1477
1478ALTER TABLE ONLY taggit_tag
1479 ADD CONSTRAINT taggit_tag_pkey PRIMARY KEY (id);
1480
1481
1482--
1483-- Name: taggit_tag taggit_tag_slug_key; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1484--
1485
1486ALTER TABLE ONLY taggit_tag
1487 ADD CONSTRAINT taggit_tag_slug_key UNIQUE (slug);
1488
1489
1490--
1491-- Name: taggit_taggeditem taggit_taggeditem_pkey; Type: CONSTRAINT; Schema: public; Owner: hiccupuser
1492--
1493
1494ALTER TABLE ONLY taggit_taggeditem
1495 ADD CONSTRAINT taggit_taggeditem_pkey PRIMARY KEY (id);
1496
1497
1498--
1499-- Name: account_emailaddress_e8701ad4; Type: INDEX; Schema: public; Owner: hiccupuser
1500--
1501
1502CREATE INDEX account_emailaddress_e8701ad4 ON account_emailaddress USING btree (user_id);
1503
1504
1505--
1506-- Name: account_emailaddress_email_03be32b2_like; Type: INDEX; Schema: public; Owner: hiccupuser
1507--
1508
1509CREATE INDEX account_emailaddress_email_03be32b2_like ON account_emailaddress USING btree (email varchar_pattern_ops);
1510
1511
1512--
1513-- Name: account_emailconfirmation_6f1edeac; Type: INDEX; Schema: public; Owner: hiccupuser
1514--
1515
1516CREATE INDEX account_emailconfirmation_6f1edeac ON account_emailconfirmation USING btree (email_address_id);
1517
1518
1519--
1520-- Name: account_emailconfirmation_key_f43612bd_like; Type: INDEX; Schema: public; Owner: hiccupuser
1521--
1522
1523CREATE INDEX account_emailconfirmation_key_f43612bd_like ON account_emailconfirmation USING btree (key varchar_pattern_ops);
1524
1525
1526--
1527-- Name: auth_group_name_a6ea08ec_like; Type: INDEX; Schema: public; Owner: hiccupuser
1528--
1529
1530CREATE INDEX auth_group_name_a6ea08ec_like ON auth_group USING btree (name varchar_pattern_ops);
1531
1532
1533--
1534-- Name: auth_group_permissions_0e939a4f; Type: INDEX; Schema: public; Owner: hiccupuser
1535--
1536
1537CREATE INDEX auth_group_permissions_0e939a4f ON auth_group_permissions USING btree (group_id);
1538
1539
1540--
1541-- Name: auth_group_permissions_8373b171; Type: INDEX; Schema: public; Owner: hiccupuser
1542--
1543
1544CREATE INDEX auth_group_permissions_8373b171 ON auth_group_permissions USING btree (permission_id);
1545
1546
1547--
1548-- Name: auth_permission_417f1b1c; Type: INDEX; Schema: public; Owner: hiccupuser
1549--
1550
1551CREATE INDEX auth_permission_417f1b1c ON auth_permission USING btree (content_type_id);
1552
1553
1554--
1555-- Name: auth_user_groups_0e939a4f; Type: INDEX; Schema: public; Owner: hiccupuser
1556--
1557
1558CREATE INDEX auth_user_groups_0e939a4f ON auth_user_groups USING btree (group_id);
1559
1560
1561--
1562-- Name: auth_user_groups_e8701ad4; Type: INDEX; Schema: public; Owner: hiccupuser
1563--
1564
1565CREATE INDEX auth_user_groups_e8701ad4 ON auth_user_groups USING btree (user_id);
1566
1567
1568--
1569-- Name: auth_user_user_permissions_8373b171; Type: INDEX; Schema: public; Owner: hiccupuser
1570--
1571
1572CREATE INDEX auth_user_user_permissions_8373b171 ON auth_user_user_permissions USING btree (permission_id);
1573
1574
1575--
1576-- Name: auth_user_user_permissions_e8701ad4; Type: INDEX; Schema: public; Owner: hiccupuser
1577--
1578
1579CREATE INDEX auth_user_user_permissions_e8701ad4 ON auth_user_user_permissions USING btree (user_id);
1580
1581
1582--
1583-- Name: auth_user_username_6821ab7c_like; Type: INDEX; Schema: public; Owner: hiccupuser
1584--
1585
1586CREATE INDEX auth_user_username_6821ab7c_like ON auth_user USING btree (username varchar_pattern_ops);
1587
1588
1589--
1590-- Name: authtoken_token_key_10f0b77e_like; Type: INDEX; Schema: public; Owner: hiccupuser
1591--
1592
1593CREATE INDEX authtoken_token_key_10f0b77e_like ON authtoken_token USING btree (key varchar_pattern_ops);
1594
1595
1596--
1597-- Name: crashreport_stats_version_build_fingerprint_dcd2fcdf_like; Type: INDEX; Schema: public; Owner: hiccupuser
1598--
1599
1600CREATE INDEX crashreport_stats_version_build_fingerprint_dcd2fcdf_like ON crashreport_stats_version USING btree (build_fingerprint varchar_pattern_ops);
1601
1602
1603--
1604-- Name: crashreport_stats_versiondaily_316e8552; Type: INDEX; Schema: public; Owner: hiccupuser
1605--
1606
1607CREATE INDEX crashreport_stats_versiondaily_316e8552 ON crashreport_stats_versiondaily USING btree (version_id);
1608
1609
1610--
1611-- Name: crashreports_crashreport_9379346c; Type: INDEX; Schema: public; Owner: hiccupuser
1612--
1613
1614CREATE INDEX crashreports_crashreport_9379346c ON crashreports_crashreport USING btree (device_id);
1615
1616
1617--
1618-- Name: crashreports_crashreport_boot_reason_54c0d5ec_like; Type: INDEX; Schema: public; Owner: hiccupuser
1619--
1620
1621CREATE INDEX crashreports_crashreport_boot_reason_54c0d5ec_like ON crashreports_crashreport USING btree (boot_reason varchar_pattern_ops);
1622
1623
1624--
1625-- Name: crashreports_crashreport_boot_reason_54c0d5ec_uniq; Type: INDEX; Schema: public; Owner: hiccupuser
1626--
1627
1628CREATE INDEX crashreports_crashreport_boot_reason_54c0d5ec_uniq ON crashreports_crashreport USING btree (boot_reason);
1629
1630
1631--
1632-- Name: crashreports_crashreport_build_fingerprint_f5dc21a3_like; Type: INDEX; Schema: public; Owner: hiccupuser
1633--
1634
1635CREATE INDEX crashreports_crashreport_build_fingerprint_f5dc21a3_like ON crashreports_crashreport USING btree (build_fingerprint varchar_pattern_ops);
1636
1637
1638--
1639-- Name: crashreports_crashreport_build_fingerprint_f5dc21a3_uniq; Type: INDEX; Schema: public; Owner: hiccupuser
1640--
1641
1642CREATE INDEX crashreports_crashreport_build_fingerprint_f5dc21a3_uniq ON crashreports_crashreport USING btree (build_fingerprint);
1643
1644
1645--
1646-- Name: crashreports_crashreport_date_e191f150_uniq; Type: INDEX; Schema: public; Owner: hiccupuser
1647--
1648
1649CREATE INDEX crashreports_crashreport_date_e191f150_uniq ON crashreports_crashreport USING btree (date);
1650
1651
1652--
1653-- Name: crashreports_crashreport_power_off_reason_22d2d6d6_like; Type: INDEX; Schema: public; Owner: hiccupuser
1654--
1655
1656CREATE INDEX crashreports_crashreport_power_off_reason_22d2d6d6_like ON crashreports_crashreport USING btree (power_off_reason varchar_pattern_ops);
1657
1658
1659--
1660-- Name: crashreports_crashreport_power_off_reason_22d2d6d6_uniq; Type: INDEX; Schema: public; Owner: hiccupuser
1661--
1662
1663CREATE INDEX crashreports_crashreport_power_off_reason_22d2d6d6_uniq ON crashreports_crashreport USING btree (power_off_reason);
1664
1665
1666--
1667-- Name: crashreports_crashreport_power_on_reason_0c0eafbb_like; Type: INDEX; Schema: public; Owner: hiccupuser
1668--
1669
1670CREATE INDEX crashreports_crashreport_power_on_reason_0c0eafbb_like ON crashreports_crashreport USING btree (power_on_reason varchar_pattern_ops);
1671
1672
1673--
1674-- Name: crashreports_crashreport_power_on_reason_0c0eafbb_uniq; Type: INDEX; Schema: public; Owner: hiccupuser
1675--
1676
1677CREATE INDEX crashreports_crashreport_power_on_reason_0c0eafbb_uniq ON crashreports_crashreport USING btree (power_on_reason);
1678
1679
1680--
1681-- Name: crashreports_device_uuid_9d635eb7_like; Type: INDEX; Schema: public; Owner: hiccupuser
1682--
1683
1684CREATE INDEX crashreports_device_uuid_9d635eb7_like ON crashreports_device USING btree (uuid varchar_pattern_ops);
1685
1686
1687--
1688-- Name: crashreports_heartbeat_9379346c; Type: INDEX; Schema: public; Owner: hiccupuser
1689--
1690
1691CREATE INDEX crashreports_heartbeat_9379346c ON crashreports_heartbeat USING btree (device_id);
1692
1693
1694--
1695-- Name: crashreports_logfile_b7d34b56; Type: INDEX; Schema: public; Owner: hiccupuser
1696--
1697
1698CREATE INDEX crashreports_logfile_b7d34b56 ON crashreports_logfile USING btree (crashreport_id);
1699
1700
1701--
1702-- Name: django_admin_log_417f1b1c; Type: INDEX; Schema: public; Owner: hiccupuser
1703--
1704
1705CREATE INDEX django_admin_log_417f1b1c ON django_admin_log USING btree (content_type_id);
1706
1707
1708--
1709-- Name: django_admin_log_e8701ad4; Type: INDEX; Schema: public; Owner: hiccupuser
1710--
1711
1712CREATE INDEX django_admin_log_e8701ad4 ON django_admin_log USING btree (user_id);
1713
1714
1715--
1716-- Name: django_session_de54fa62; Type: INDEX; Schema: public; Owner: hiccupuser
1717--
1718
1719CREATE INDEX django_session_de54fa62 ON django_session USING btree (expire_date);
1720
1721
1722--
1723-- Name: django_session_session_key_c0390e0f_like; Type: INDEX; Schema: public; Owner: hiccupuser
1724--
1725
1726CREATE INDEX django_session_session_key_c0390e0f_like ON django_session USING btree (session_key varchar_pattern_ops);
1727
1728
1729--
1730-- Name: django_site_domain_a2e37b91_like; Type: INDEX; Schema: public; Owner: hiccupuser
1731--
1732
1733CREATE INDEX django_site_domain_a2e37b91_like ON django_site USING btree (domain varchar_pattern_ops);
1734
1735
1736--
1737-- Name: socialaccount_socialaccount_e8701ad4; Type: INDEX; Schema: public; Owner: hiccupuser
1738--
1739
1740CREATE INDEX socialaccount_socialaccount_e8701ad4 ON socialaccount_socialaccount USING btree (user_id);
1741
1742
1743--
1744-- Name: socialaccount_socialapp_sites_9365d6e7; Type: INDEX; Schema: public; Owner: hiccupuser
1745--
1746
1747CREATE INDEX socialaccount_socialapp_sites_9365d6e7 ON socialaccount_socialapp_sites USING btree (site_id);
1748
1749
1750--
1751-- Name: socialaccount_socialapp_sites_fe95b0a0; Type: INDEX; Schema: public; Owner: hiccupuser
1752--
1753
1754CREATE INDEX socialaccount_socialapp_sites_fe95b0a0 ON socialaccount_socialapp_sites USING btree (socialapp_id);
1755
1756
1757--
1758-- Name: socialaccount_socialtoken_8a089c2a; Type: INDEX; Schema: public; Owner: hiccupuser
1759--
1760
1761CREATE INDEX socialaccount_socialtoken_8a089c2a ON socialaccount_socialtoken USING btree (account_id);
1762
1763
1764--
1765-- Name: socialaccount_socialtoken_f382adfe; Type: INDEX; Schema: public; Owner: hiccupuser
1766--
1767
1768CREATE INDEX socialaccount_socialtoken_f382adfe ON socialaccount_socialtoken USING btree (app_id);
1769
1770
1771--
1772-- Name: taggit_tag_name_58eb2ed9_like; Type: INDEX; Schema: public; Owner: hiccupuser
1773--
1774
1775CREATE INDEX taggit_tag_name_58eb2ed9_like ON taggit_tag USING btree (name varchar_pattern_ops);
1776
1777
1778--
1779-- Name: taggit_tag_slug_6be58b2c_like; Type: INDEX; Schema: public; Owner: hiccupuser
1780--
1781
1782CREATE INDEX taggit_tag_slug_6be58b2c_like ON taggit_tag USING btree (slug varchar_pattern_ops);
1783
1784
1785--
1786-- Name: taggit_taggeditem_417f1b1c; Type: INDEX; Schema: public; Owner: hiccupuser
1787--
1788
1789CREATE INDEX taggit_taggeditem_417f1b1c ON taggit_taggeditem USING btree (content_type_id);
1790
1791
1792--
1793-- Name: taggit_taggeditem_76f094bc; Type: INDEX; Schema: public; Owner: hiccupuser
1794--
1795
1796CREATE INDEX taggit_taggeditem_76f094bc ON taggit_taggeditem USING btree (tag_id);
1797
1798
1799--
1800-- Name: taggit_taggeditem_af31437c; Type: INDEX; Schema: public; Owner: hiccupuser
1801--
1802
1803CREATE INDEX taggit_taggeditem_af31437c ON taggit_taggeditem USING btree (object_id);
1804
1805
1806--
1807-- Name: taggit_taggeditem_content_type_id_196cc965_idx; Type: INDEX; Schema: public; Owner: hiccupuser
1808--
1809
1810CREATE INDEX taggit_taggeditem_content_type_id_196cc965_idx ON taggit_taggeditem USING btree (content_type_id, object_id);
1811
1812
1813--
1814-- Name: account_emailconfirmation account_em_email_address_id_5b7f8c58_fk_account_emailaddress_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1815--
1816
1817ALTER TABLE ONLY account_emailconfirmation
1818 ADD CONSTRAINT account_em_email_address_id_5b7f8c58_fk_account_emailaddress_id FOREIGN KEY (email_address_id) REFERENCES account_emailaddress(id) DEFERRABLE INITIALLY DEFERRED;
1819
1820
1821--
1822-- Name: account_emailaddress account_emailaddress_user_id_2c513194_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1823--
1824
1825ALTER TABLE ONLY account_emailaddress
1826 ADD CONSTRAINT account_emailaddress_user_id_2c513194_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1827
1828
1829--
1830-- Name: auth_group_permissions auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1831--
1832
1833ALTER TABLE ONLY auth_group_permissions
1834 ADD CONSTRAINT auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id FOREIGN KEY (permission_id) REFERENCES auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1835
1836
1837--
1838-- Name: auth_group_permissions auth_group_permissions_group_id_b120cbf9_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1839--
1840
1841ALTER TABLE ONLY auth_group_permissions
1842 ADD CONSTRAINT auth_group_permissions_group_id_b120cbf9_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1843
1844
1845--
1846-- Name: auth_permission auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1847--
1848
1849ALTER TABLE ONLY auth_permission
1850 ADD CONSTRAINT auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1851
1852
1853--
1854-- Name: auth_user_groups auth_user_groups_group_id_97559544_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1855--
1856
1857ALTER TABLE ONLY auth_user_groups
1858 ADD CONSTRAINT auth_user_groups_group_id_97559544_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1859
1860
1861--
1862-- Name: auth_user_groups auth_user_groups_user_id_6a12ed8b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1863--
1864
1865ALTER TABLE ONLY auth_user_groups
1866 ADD CONSTRAINT auth_user_groups_user_id_6a12ed8b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1867
1868
1869--
1870-- Name: auth_user_user_permissions auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1871--
1872
1873ALTER TABLE ONLY auth_user_user_permissions
1874 ADD CONSTRAINT auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id FOREIGN KEY (permission_id) REFERENCES auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1875
1876
1877--
1878-- Name: auth_user_user_permissions auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1879--
1880
1881ALTER TABLE ONLY auth_user_user_permissions
1882 ADD CONSTRAINT auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1883
1884
1885--
1886-- Name: authtoken_token authtoken_token_user_id_35299eff_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1887--
1888
1889ALTER TABLE ONLY authtoken_token
1890 ADD CONSTRAINT authtoken_token_user_id_35299eff_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1891
1892
1893--
1894-- Name: crashreports_logfile crashrep_crashreport_id_714d0a8d_fk_crashreports_crashreport_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1895--
1896
1897ALTER TABLE ONLY crashreports_logfile
1898 ADD CONSTRAINT crashrep_crashreport_id_714d0a8d_fk_crashreports_crashreport_id FOREIGN KEY (crashreport_id) REFERENCES crashreports_crashreport(id) DEFERRABLE INITIALLY DEFERRED;
1899
1900
1901--
1902-- Name: crashreport_stats_versiondaily crashreport_version_id_ddba23df_fk_crashreport_stats_version_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1903--
1904
1905ALTER TABLE ONLY crashreport_stats_versiondaily
1906 ADD CONSTRAINT crashreport_version_id_ddba23df_fk_crashreport_stats_version_id FOREIGN KEY (version_id) REFERENCES crashreport_stats_version(id) DEFERRABLE INITIALLY DEFERRED;
1907
1908
1909--
1910-- Name: crashreports_crashreport crashreports_crash_device_id_0c882278_fk_crashreports_device_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1911--
1912
1913ALTER TABLE ONLY crashreports_crashreport
1914 ADD CONSTRAINT crashreports_crash_device_id_0c882278_fk_crashreports_device_id FOREIGN KEY (device_id) REFERENCES crashreports_device(id) DEFERRABLE INITIALLY DEFERRED;
1915
1916
1917--
1918-- Name: crashreports_device crashreports_device_user_id_a9e0ce74_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1919--
1920
1921ALTER TABLE ONLY crashreports_device
1922 ADD CONSTRAINT crashreports_device_user_id_a9e0ce74_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1923
1924
1925--
1926-- Name: crashreports_heartbeat crashreports_heart_device_id_9cc9684c_fk_crashreports_device_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1927--
1928
1929ALTER TABLE ONLY crashreports_heartbeat
1930 ADD CONSTRAINT crashreports_heart_device_id_9cc9684c_fk_crashreports_device_id FOREIGN KEY (device_id) REFERENCES crashreports_device(id) DEFERRABLE INITIALLY DEFERRED;
1931
1932
1933--
1934-- Name: django_admin_log django_admin_content_type_id_c4bce8eb_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1935--
1936
1937ALTER TABLE ONLY django_admin_log
1938 ADD CONSTRAINT django_admin_content_type_id_c4bce8eb_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1939
1940
1941--
1942-- Name: django_admin_log django_admin_log_user_id_c564eba6_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1943--
1944
1945ALTER TABLE ONLY django_admin_log
1946 ADD CONSTRAINT django_admin_log_user_id_c564eba6_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1947
1948
1949--
1950-- Name: socialaccount_socialtoken socialacc_account_id_951f210e_fk_socialaccount_socialaccount_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1951--
1952
1953ALTER TABLE ONLY socialaccount_socialtoken
1954 ADD CONSTRAINT socialacc_account_id_951f210e_fk_socialaccount_socialaccount_id FOREIGN KEY (account_id) REFERENCES socialaccount_socialaccount(id) DEFERRABLE INITIALLY DEFERRED;
1955
1956
1957--
1958-- Name: socialaccount_socialapp_sites socialaccou_socialapp_id_97fb6e7d_fk_socialaccount_socialapp_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1959--
1960
1961ALTER TABLE ONLY socialaccount_socialapp_sites
1962 ADD CONSTRAINT socialaccou_socialapp_id_97fb6e7d_fk_socialaccount_socialapp_id FOREIGN KEY (socialapp_id) REFERENCES socialaccount_socialapp(id) DEFERRABLE INITIALLY DEFERRED;
1963
1964
1965--
1966-- Name: socialaccount_socialtoken socialaccount_soc_app_id_636a42d7_fk_socialaccount_socialapp_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1967--
1968
1969ALTER TABLE ONLY socialaccount_socialtoken
1970 ADD CONSTRAINT socialaccount_soc_app_id_636a42d7_fk_socialaccount_socialapp_id FOREIGN KEY (app_id) REFERENCES socialaccount_socialapp(id) DEFERRABLE INITIALLY DEFERRED;
1971
1972
1973--
1974-- Name: socialaccount_socialaccount socialaccount_socialaccount_user_id_8146e70c_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1975--
1976
1977ALTER TABLE ONLY socialaccount_socialaccount
1978 ADD CONSTRAINT socialaccount_socialaccount_user_id_8146e70c_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1979
1980
1981--
1982-- Name: socialaccount_socialapp_sites socialaccount_socialapp_site_site_id_2579dee5_fk_django_site_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1983--
1984
1985ALTER TABLE ONLY socialaccount_socialapp_sites
1986 ADD CONSTRAINT socialaccount_socialapp_site_site_id_2579dee5_fk_django_site_id FOREIGN KEY (site_id) REFERENCES django_site(id) DEFERRABLE INITIALLY DEFERRED;
1987
1988
1989--
1990-- Name: taggit_taggeditem taggit_tagge_content_type_id_9957a03c_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1991--
1992
1993ALTER TABLE ONLY taggit_taggeditem
1994 ADD CONSTRAINT taggit_tagge_content_type_id_9957a03c_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1995
1996
1997--
1998-- Name: taggit_taggeditem taggit_taggeditem_tag_id_f4f5b767_fk_taggit_tag_id; Type: FK CONSTRAINT; Schema: public; Owner: hiccupuser
1999--
2000
2001ALTER TABLE ONLY taggit_taggeditem
2002 ADD CONSTRAINT taggit_taggeditem_tag_id_f4f5b767_fk_taggit_tag_id FOREIGN KEY (tag_id) REFERENCES taggit_tag(id) DEFERRABLE INITIALLY DEFERRED;
2003
2004
2005--
2006-- PostgreSQL database dump complete
2007--