blob: 402afb1ce19b24c3e33c721d68d2d1cf35368987 [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Matteo Scandolo842b9e92015-10-19 16:56:15 +020017--
18-- PostgreSQL database dump
19--
20
21SET statement_timeout = 0;
22SET lock_timeout = 0;
23SET client_encoding = 'SQL_ASCII';
24SET standard_conforming_strings = on;
25SET check_function_bodies = false;
26SET client_min_messages = warning;
27
28--
29-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
30--
31
32CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
33
34
35--
36-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
37--
38
39COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
40
41
42SET search_path = public, pg_catalog;
43
44SET default_tablespace = '';
45
46SET default_with_oids = false;
47
48--
49-- Name: auth_group; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
50--
51
52CREATE TABLE auth_group (
53 id integer NOT NULL,
54 name character varying(80) NOT NULL
55);
56
57
58ALTER TABLE public.auth_group OWNER TO postgres;
59
60--
61-- Name: auth_group_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
62--
63
64CREATE SEQUENCE auth_group_id_seq
65 START WITH 1
66 INCREMENT BY 1
67 NO MINVALUE
68 NO MAXVALUE
69 CACHE 1;
70
71
72ALTER TABLE public.auth_group_id_seq OWNER TO postgres;
73
74--
75-- Name: auth_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
76--
77
78ALTER SEQUENCE auth_group_id_seq OWNED BY auth_group.id;
79
80
81--
82-- Name: auth_group_permissions; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
83--
84
85CREATE TABLE auth_group_permissions (
86 id integer NOT NULL,
87 group_id integer NOT NULL,
88 permission_id integer NOT NULL
89);
90
91
92ALTER TABLE public.auth_group_permissions OWNER TO postgres;
93
94--
95-- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
96--
97
98CREATE SEQUENCE auth_group_permissions_id_seq
99 START WITH 1
100 INCREMENT BY 1
101 NO MINVALUE
102 NO MAXVALUE
103 CACHE 1;
104
105
106ALTER TABLE public.auth_group_permissions_id_seq OWNER TO postgres;
107
108--
109-- Name: auth_group_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
110--
111
112ALTER SEQUENCE auth_group_permissions_id_seq OWNED BY auth_group_permissions.id;
113
114
115--
116-- Name: auth_permission; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
117--
118
119CREATE TABLE auth_permission (
120 id integer NOT NULL,
121 name character varying(50) NOT NULL,
122 content_type_id integer NOT NULL,
123 codename character varying(100) NOT NULL
124);
125
126
127ALTER TABLE public.auth_permission OWNER TO postgres;
128
129--
130-- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
131--
132
133CREATE SEQUENCE auth_permission_id_seq
134 START WITH 1
135 INCREMENT BY 1
136 NO MINVALUE
137 NO MAXVALUE
138 CACHE 1;
139
140
141ALTER TABLE public.auth_permission_id_seq OWNER TO postgres;
142
143--
144-- Name: auth_permission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
145--
146
147ALTER SEQUENCE auth_permission_id_seq OWNED BY auth_permission.id;
148
149
150--
151-- Name: core_account; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
152--
153
154CREATE TABLE core_account (
155 id integer NOT NULL,
156 created timestamp with time zone NOT NULL,
157 updated timestamp with time zone NOT NULL,
158 enacted timestamp with time zone,
159 policed timestamp with time zone,
160 backend_register character varying(140),
161 backend_status character varying(1024) NOT NULL,
162 deleted boolean NOT NULL,
163 write_protect boolean NOT NULL,
164 lazy_blocked boolean NOT NULL,
165 no_sync boolean NOT NULL,
166 site_id integer NOT NULL
167);
168
169
170ALTER TABLE public.core_account OWNER TO postgres;
171
172--
173-- Name: core_account_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
174--
175
176CREATE SEQUENCE core_account_id_seq
177 START WITH 1
178 INCREMENT BY 1
179 NO MINVALUE
180 NO MAXVALUE
181 CACHE 1;
182
183
184ALTER TABLE public.core_account_id_seq OWNER TO postgres;
185
186--
187-- Name: core_account_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
188--
189
190ALTER SEQUENCE core_account_id_seq OWNED BY core_account.id;
191
192
193--
194-- Name: core_charge; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
195--
196
197CREATE TABLE core_charge (
198 id integer NOT NULL,
199 created timestamp with time zone NOT NULL,
200 updated timestamp with time zone NOT NULL,
201 enacted timestamp with time zone,
202 policed timestamp with time zone,
203 backend_register character varying(140),
204 backend_status character varying(1024) NOT NULL,
205 deleted boolean NOT NULL,
206 write_protect boolean NOT NULL,
207 lazy_blocked boolean NOT NULL,
208 no_sync boolean NOT NULL,
209 kind character varying(30) NOT NULL,
210 state character varying(30) NOT NULL,
211 date timestamp with time zone NOT NULL,
212 amount double precision NOT NULL,
213 "coreHours" double precision NOT NULL,
214 account_id integer NOT NULL,
215 invoice_id integer,
216 object_id integer NOT NULL,
217 slice_id integer
218);
219
220
221ALTER TABLE public.core_charge OWNER TO postgres;
222
223--
224-- Name: core_charge_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
225--
226
227CREATE SEQUENCE core_charge_id_seq
228 START WITH 1
229 INCREMENT BY 1
230 NO MINVALUE
231 NO MAXVALUE
232 CACHE 1;
233
234
235ALTER TABLE public.core_charge_id_seq OWNER TO postgres;
236
237--
238-- Name: core_charge_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
239--
240
241ALTER SEQUENCE core_charge_id_seq OWNED BY core_charge.id;
242
243
244--
245-- Name: core_controller; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
246--
247
248CREATE TABLE core_controller (
249 id integer NOT NULL,
250 created timestamp with time zone NOT NULL,
251 updated timestamp with time zone NOT NULL,
252 enacted timestamp with time zone,
253 policed timestamp with time zone,
254 backend_register character varying(140),
255 backend_status character varying(1024) NOT NULL,
256 deleted boolean NOT NULL,
257 write_protect boolean NOT NULL,
258 lazy_blocked boolean NOT NULL,
259 no_sync boolean NOT NULL,
260 name character varying(200) NOT NULL,
261 backend_type character varying(200) NOT NULL,
262 version character varying(200) NOT NULL,
263 auth_url character varying(200),
264 admin_user character varying(200),
265 admin_password character varying(200),
266 admin_tenant character varying(200),
267 domain character varying(200),
268 deployment_id integer NOT NULL
269);
270
271
272ALTER TABLE public.core_controller OWNER TO postgres;
273
274--
275-- Name: core_controller_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
276--
277
278CREATE SEQUENCE core_controller_id_seq
279 START WITH 1
280 INCREMENT BY 1
281 NO MINVALUE
282 NO MAXVALUE
283 CACHE 1;
284
285
286ALTER TABLE public.core_controller_id_seq OWNER TO postgres;
287
288--
289-- Name: core_controller_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
290--
291
292ALTER SEQUENCE core_controller_id_seq OWNED BY core_controller.id;
293
294
295--
296-- Name: core_controllercredential; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
297--
298
299CREATE TABLE core_controllercredential (
300 id integer NOT NULL,
301 created timestamp with time zone NOT NULL,
302 updated timestamp with time zone NOT NULL,
303 enacted timestamp with time zone,
304 policed timestamp with time zone,
305 backend_register character varying(140),
306 backend_status character varying(1024) NOT NULL,
307 deleted boolean NOT NULL,
308 write_protect boolean NOT NULL,
309 lazy_blocked boolean NOT NULL,
310 no_sync boolean NOT NULL,
311 name character varying(128) NOT NULL,
312 key_id character varying(1024) NOT NULL,
313 enc_value text NOT NULL,
314 controller_id integer NOT NULL
315);
316
317
318ALTER TABLE public.core_controllercredential OWNER TO postgres;
319
320--
321-- Name: core_controllercredential_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
322--
323
324CREATE SEQUENCE core_controllercredential_id_seq
325 START WITH 1
326 INCREMENT BY 1
327 NO MINVALUE
328 NO MAXVALUE
329 CACHE 1;
330
331
332ALTER TABLE public.core_controllercredential_id_seq OWNER TO postgres;
333
334--
335-- Name: core_controllercredential_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
336--
337
338ALTER SEQUENCE core_controllercredential_id_seq OWNED BY core_controllercredential.id;
339
340
341--
342-- Name: core_controllerdashboardview; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
343--
344
345CREATE TABLE core_controllerdashboardview (
346 id integer NOT NULL,
347 created timestamp with time zone NOT NULL,
348 updated timestamp with time zone NOT NULL,
349 enacted timestamp with time zone,
350 policed timestamp with time zone,
351 backend_register character varying(140),
352 backend_status character varying(1024) NOT NULL,
353 deleted boolean NOT NULL,
354 write_protect boolean NOT NULL,
355 lazy_blocked boolean NOT NULL,
356 no_sync boolean NOT NULL,
357 enabled boolean NOT NULL,
358 url character varying(1024) NOT NULL,
359 controller_id integer NOT NULL,
360 "dashboardView_id" integer NOT NULL
361);
362
363
364ALTER TABLE public.core_controllerdashboardview OWNER TO postgres;
365
366--
367-- Name: core_controllerdashboardview_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
368--
369
370CREATE SEQUENCE core_controllerdashboardview_id_seq
371 START WITH 1
372 INCREMENT BY 1
373 NO MINVALUE
374 NO MAXVALUE
375 CACHE 1;
376
377
378ALTER TABLE public.core_controllerdashboardview_id_seq OWNER TO postgres;
379
380--
381-- Name: core_controllerdashboardview_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
382--
383
384ALTER SEQUENCE core_controllerdashboardview_id_seq OWNED BY core_controllerdashboardview.id;
385
386
387--
388-- Name: core_controllerimages; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
389--
390
391CREATE TABLE core_controllerimages (
392 id integer NOT NULL,
393 created timestamp with time zone NOT NULL,
394 updated timestamp with time zone NOT NULL,
395 enacted timestamp with time zone,
396 policed timestamp with time zone,
397 backend_register character varying(140),
398 backend_status character varying(1024) NOT NULL,
399 deleted boolean NOT NULL,
400 write_protect boolean NOT NULL,
401 lazy_blocked boolean NOT NULL,
402 no_sync boolean NOT NULL,
403 glance_image_id character varying(200),
404 controller_id integer NOT NULL,
405 image_id integer NOT NULL
406);
407
408
409ALTER TABLE public.core_controllerimages OWNER TO postgres;
410
411--
412-- Name: core_controllerimages_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
413--
414
415CREATE SEQUENCE core_controllerimages_id_seq
416 START WITH 1
417 INCREMENT BY 1
418 NO MINVALUE
419 NO MAXVALUE
420 CACHE 1;
421
422
423ALTER TABLE public.core_controllerimages_id_seq OWNER TO postgres;
424
425--
426-- Name: core_controllerimages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
427--
428
429ALTER SEQUENCE core_controllerimages_id_seq OWNED BY core_controllerimages.id;
430
431
432--
433-- Name: core_controllernetwork; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
434--
435
436CREATE TABLE core_controllernetwork (
437 id integer NOT NULL,
438 created timestamp with time zone NOT NULL,
439 updated timestamp with time zone NOT NULL,
440 enacted timestamp with time zone,
441 policed timestamp with time zone,
442 backend_register character varying(140),
443 backend_status character varying(1024) NOT NULL,
444 deleted boolean NOT NULL,
445 write_protect boolean NOT NULL,
446 lazy_blocked boolean NOT NULL,
447 no_sync boolean NOT NULL,
448 net_id character varying(256),
449 router_id character varying(256),
450 subnet_id character varying(256),
451 subnet character varying(32) NOT NULL,
452 controller_id integer NOT NULL,
453 network_id integer NOT NULL
454);
455
456
457ALTER TABLE public.core_controllernetwork OWNER TO postgres;
458
459--
460-- Name: core_controllernetwork_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
461--
462
463CREATE SEQUENCE core_controllernetwork_id_seq
464 START WITH 1
465 INCREMENT BY 1
466 NO MINVALUE
467 NO MAXVALUE
468 CACHE 1;
469
470
471ALTER TABLE public.core_controllernetwork_id_seq OWNER TO postgres;
472
473--
474-- Name: core_controllernetwork_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
475--
476
477ALTER SEQUENCE core_controllernetwork_id_seq OWNED BY core_controllernetwork.id;
478
479
480--
481-- Name: core_controllerrole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
482--
483
484CREATE TABLE core_controllerrole (
485 id integer NOT NULL,
486 created timestamp with time zone NOT NULL,
487 updated timestamp with time zone NOT NULL,
488 enacted timestamp with time zone,
489 policed timestamp with time zone,
490 backend_register character varying(140),
491 backend_status character varying(1024) NOT NULL,
492 deleted boolean NOT NULL,
493 write_protect boolean NOT NULL,
494 lazy_blocked boolean NOT NULL,
495 no_sync boolean NOT NULL,
496 role character varying(30) NOT NULL
497);
498
499
500ALTER TABLE public.core_controllerrole OWNER TO postgres;
501
502--
503-- Name: core_controllerrole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
504--
505
506CREATE SEQUENCE core_controllerrole_id_seq
507 START WITH 1
508 INCREMENT BY 1
509 NO MINVALUE
510 NO MAXVALUE
511 CACHE 1;
512
513
514ALTER TABLE public.core_controllerrole_id_seq OWNER TO postgres;
515
516--
517-- Name: core_controllerrole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
518--
519
520ALTER SEQUENCE core_controllerrole_id_seq OWNED BY core_controllerrole.id;
521
522
523--
524-- Name: core_controllersite; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
525--
526
527CREATE TABLE core_controllersite (
528 id integer NOT NULL,
529 created timestamp with time zone NOT NULL,
530 updated timestamp with time zone NOT NULL,
531 enacted timestamp with time zone,
532 policed timestamp with time zone,
533 backend_register character varying(140),
534 backend_status character varying(1024) NOT NULL,
535 deleted boolean NOT NULL,
536 write_protect boolean NOT NULL,
537 lazy_blocked boolean NOT NULL,
538 no_sync boolean NOT NULL,
539 tenant_id character varying(200),
540 controller_id integer,
541 site_id integer NOT NULL
542);
543
544
545ALTER TABLE public.core_controllersite OWNER TO postgres;
546
547--
548-- Name: core_controllersite_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
549--
550
551CREATE SEQUENCE core_controllersite_id_seq
552 START WITH 1
553 INCREMENT BY 1
554 NO MINVALUE
555 NO MAXVALUE
556 CACHE 1;
557
558
559ALTER TABLE public.core_controllersite_id_seq OWNER TO postgres;
560
561--
562-- Name: core_controllersite_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
563--
564
565ALTER SEQUENCE core_controllersite_id_seq OWNED BY core_controllersite.id;
566
567
568--
569-- Name: core_controllersiteprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
570--
571
572CREATE TABLE core_controllersiteprivilege (
573 id integer NOT NULL,
574 created timestamp with time zone NOT NULL,
575 updated timestamp with time zone NOT NULL,
576 enacted timestamp with time zone,
577 policed timestamp with time zone,
578 backend_register character varying(140),
579 backend_status character varying(1024) NOT NULL,
580 deleted boolean NOT NULL,
581 write_protect boolean NOT NULL,
582 lazy_blocked boolean NOT NULL,
583 no_sync boolean NOT NULL,
584 role_id character varying(200),
585 controller_id integer NOT NULL,
586 site_privilege_id integer NOT NULL
587);
588
589
590ALTER TABLE public.core_controllersiteprivilege OWNER TO postgres;
591
592--
593-- Name: core_controllersiteprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
594--
595
596CREATE SEQUENCE core_controllersiteprivilege_id_seq
597 START WITH 1
598 INCREMENT BY 1
599 NO MINVALUE
600 NO MAXVALUE
601 CACHE 1;
602
603
604ALTER TABLE public.core_controllersiteprivilege_id_seq OWNER TO postgres;
605
606--
607-- Name: core_controllersiteprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
608--
609
610ALTER SEQUENCE core_controllersiteprivilege_id_seq OWNED BY core_controllersiteprivilege.id;
611
612
613--
614-- Name: core_controllerslice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
615--
616
617CREATE TABLE core_controllerslice (
618 id integer NOT NULL,
619 created timestamp with time zone NOT NULL,
620 updated timestamp with time zone NOT NULL,
621 enacted timestamp with time zone,
622 policed timestamp with time zone,
623 backend_register character varying(140),
624 backend_status character varying(1024) NOT NULL,
625 deleted boolean NOT NULL,
626 write_protect boolean NOT NULL,
627 lazy_blocked boolean NOT NULL,
628 no_sync boolean NOT NULL,
629 tenant_id character varying(200),
630 controller_id integer NOT NULL,
631 slice_id integer NOT NULL
632);
633
634
635ALTER TABLE public.core_controllerslice OWNER TO postgres;
636
637--
638-- Name: core_controllerslice_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
639--
640
641CREATE SEQUENCE core_controllerslice_id_seq
642 START WITH 1
643 INCREMENT BY 1
644 NO MINVALUE
645 NO MAXVALUE
646 CACHE 1;
647
648
649ALTER TABLE public.core_controllerslice_id_seq OWNER TO postgres;
650
651--
652-- Name: core_controllerslice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
653--
654
655ALTER SEQUENCE core_controllerslice_id_seq OWNED BY core_controllerslice.id;
656
657
658--
659-- Name: core_controllersliceprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
660--
661
662CREATE TABLE core_controllersliceprivilege (
663 id integer NOT NULL,
664 created timestamp with time zone NOT NULL,
665 updated timestamp with time zone NOT NULL,
666 enacted timestamp with time zone,
667 policed timestamp with time zone,
668 backend_register character varying(140),
669 backend_status character varying(1024) NOT NULL,
670 deleted boolean NOT NULL,
671 write_protect boolean NOT NULL,
672 lazy_blocked boolean NOT NULL,
673 no_sync boolean NOT NULL,
674 role_id character varying(200),
675 controller_id integer NOT NULL,
676 slice_privilege_id integer NOT NULL
677);
678
679
680ALTER TABLE public.core_controllersliceprivilege OWNER TO postgres;
681
682--
683-- Name: core_controllersliceprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
684--
685
686CREATE SEQUENCE core_controllersliceprivilege_id_seq
687 START WITH 1
688 INCREMENT BY 1
689 NO MINVALUE
690 NO MAXVALUE
691 CACHE 1;
692
693
694ALTER TABLE public.core_controllersliceprivilege_id_seq OWNER TO postgres;
695
696--
697-- Name: core_controllersliceprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
698--
699
700ALTER SEQUENCE core_controllersliceprivilege_id_seq OWNED BY core_controllersliceprivilege.id;
701
702
703--
704-- Name: core_controlleruser; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
705--
706
707CREATE TABLE core_controlleruser (
708 id integer NOT NULL,
709 created timestamp with time zone NOT NULL,
710 updated timestamp with time zone NOT NULL,
711 enacted timestamp with time zone,
712 policed timestamp with time zone,
713 backend_register character varying(140),
714 backend_status character varying(1024) NOT NULL,
715 deleted boolean NOT NULL,
716 write_protect boolean NOT NULL,
717 lazy_blocked boolean NOT NULL,
718 no_sync boolean NOT NULL,
719 kuser_id character varying(200),
720 controller_id integer NOT NULL,
721 user_id integer NOT NULL
722);
723
724
725ALTER TABLE public.core_controlleruser OWNER TO postgres;
726
727--
728-- Name: core_controlleruser_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
729--
730
731CREATE SEQUENCE core_controlleruser_id_seq
732 START WITH 1
733 INCREMENT BY 1
734 NO MINVALUE
735 NO MAXVALUE
736 CACHE 1;
737
738
739ALTER TABLE public.core_controlleruser_id_seq OWNER TO postgres;
740
741--
742-- Name: core_controlleruser_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
743--
744
745ALTER SEQUENCE core_controlleruser_id_seq OWNED BY core_controlleruser.id;
746
747
748--
749-- Name: core_dashboardview; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
750--
751
752CREATE TABLE core_dashboardview (
753 id integer NOT NULL,
754 created timestamp with time zone NOT NULL,
755 updated timestamp with time zone NOT NULL,
756 enacted timestamp with time zone,
757 policed timestamp with time zone,
758 backend_register character varying(140),
759 backend_status character varying(1024) NOT NULL,
760 deleted boolean NOT NULL,
761 write_protect boolean NOT NULL,
762 lazy_blocked boolean NOT NULL,
763 no_sync boolean NOT NULL,
764 name character varying(200) NOT NULL,
765 url character varying(1024) NOT NULL,
766 enabled boolean NOT NULL
767);
768
769
770ALTER TABLE public.core_dashboardview OWNER TO postgres;
771
772--
773-- Name: core_dashboardview_deployments; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
774--
775
776CREATE TABLE core_dashboardview_deployments (
777 id integer NOT NULL,
778 dashboardview_id integer NOT NULL,
779 deployment_id integer NOT NULL
780);
781
782
783ALTER TABLE public.core_dashboardview_deployments OWNER TO postgres;
784
785--
786-- Name: core_dashboardview_deployments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
787--
788
789CREATE SEQUENCE core_dashboardview_deployments_id_seq
790 START WITH 1
791 INCREMENT BY 1
792 NO MINVALUE
793 NO MAXVALUE
794 CACHE 1;
795
796
797ALTER TABLE public.core_dashboardview_deployments_id_seq OWNER TO postgres;
798
799--
800-- Name: core_dashboardview_deployments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
801--
802
803ALTER SEQUENCE core_dashboardview_deployments_id_seq OWNED BY core_dashboardview_deployments.id;
804
805
806--
807-- Name: core_dashboardview_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
808--
809
810CREATE SEQUENCE core_dashboardview_id_seq
811 START WITH 1
812 INCREMENT BY 1
813 NO MINVALUE
814 NO MAXVALUE
815 CACHE 1;
816
817
818ALTER TABLE public.core_dashboardview_id_seq OWNER TO postgres;
819
820--
821-- Name: core_dashboardview_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
822--
823
824ALTER SEQUENCE core_dashboardview_id_seq OWNED BY core_dashboardview.id;
825
826
827--
828-- Name: core_deployment; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
829--
830
831CREATE TABLE core_deployment (
832 id integer NOT NULL,
833 created timestamp with time zone NOT NULL,
834 updated timestamp with time zone NOT NULL,
835 enacted timestamp with time zone,
836 policed timestamp with time zone,
837 backend_register character varying(140),
838 backend_status character varying(1024) NOT NULL,
839 deleted boolean NOT NULL,
840 write_protect boolean NOT NULL,
841 lazy_blocked boolean NOT NULL,
842 no_sync boolean NOT NULL,
843 name character varying(200) NOT NULL,
844 "accessControl" text NOT NULL
845);
846
847
848ALTER TABLE public.core_deployment OWNER TO postgres;
849
850--
851-- Name: core_deployment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
852--
853
854CREATE SEQUENCE core_deployment_id_seq
855 START WITH 1
856 INCREMENT BY 1
857 NO MINVALUE
858 NO MAXVALUE
859 CACHE 1;
860
861
862ALTER TABLE public.core_deployment_id_seq OWNER TO postgres;
863
864--
865-- Name: core_deployment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
866--
867
868ALTER SEQUENCE core_deployment_id_seq OWNED BY core_deployment.id;
869
870
871--
872-- Name: core_deploymentprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
873--
874
875CREATE TABLE core_deploymentprivilege (
876 id integer NOT NULL,
877 created timestamp with time zone NOT NULL,
878 updated timestamp with time zone NOT NULL,
879 enacted timestamp with time zone,
880 policed timestamp with time zone,
881 backend_register character varying(140),
882 backend_status character varying(1024) NOT NULL,
883 deleted boolean NOT NULL,
884 write_protect boolean NOT NULL,
885 lazy_blocked boolean NOT NULL,
886 no_sync boolean NOT NULL,
887 deployment_id integer NOT NULL,
888 role_id integer NOT NULL,
889 user_id integer NOT NULL
890);
891
892
893ALTER TABLE public.core_deploymentprivilege OWNER TO postgres;
894
895--
896-- Name: core_deploymentprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
897--
898
899CREATE SEQUENCE core_deploymentprivilege_id_seq
900 START WITH 1
901 INCREMENT BY 1
902 NO MINVALUE
903 NO MAXVALUE
904 CACHE 1;
905
906
907ALTER TABLE public.core_deploymentprivilege_id_seq OWNER TO postgres;
908
909--
910-- Name: core_deploymentprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
911--
912
913ALTER SEQUENCE core_deploymentprivilege_id_seq OWNED BY core_deploymentprivilege.id;
914
915
916--
917-- Name: core_deploymentrole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
918--
919
920CREATE TABLE core_deploymentrole (
921 id integer NOT NULL,
922 created timestamp with time zone NOT NULL,
923 updated timestamp with time zone NOT NULL,
924 enacted timestamp with time zone,
925 policed timestamp with time zone,
926 backend_register character varying(140),
927 backend_status character varying(1024) NOT NULL,
928 deleted boolean NOT NULL,
929 write_protect boolean NOT NULL,
930 lazy_blocked boolean NOT NULL,
931 no_sync boolean NOT NULL,
932 role character varying(30) NOT NULL
933);
934
935
936ALTER TABLE public.core_deploymentrole OWNER TO postgres;
937
938--
939-- Name: core_deploymentrole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
940--
941
942CREATE SEQUENCE core_deploymentrole_id_seq
943 START WITH 1
944 INCREMENT BY 1
945 NO MINVALUE
946 NO MAXVALUE
947 CACHE 1;
948
949
950ALTER TABLE public.core_deploymentrole_id_seq OWNER TO postgres;
951
952--
953-- Name: core_deploymentrole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
954--
955
956ALTER SEQUENCE core_deploymentrole_id_seq OWNED BY core_deploymentrole.id;
957
958
959--
960-- Name: core_flavor; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
961--
962
963CREATE TABLE core_flavor (
964 id integer NOT NULL,
965 created timestamp with time zone NOT NULL,
966 updated timestamp with time zone NOT NULL,
967 enacted timestamp with time zone,
968 policed timestamp with time zone,
969 backend_register character varying(140),
970 backend_status character varying(1024) NOT NULL,
971 deleted boolean NOT NULL,
972 write_protect boolean NOT NULL,
973 lazy_blocked boolean NOT NULL,
974 no_sync boolean NOT NULL,
975 name character varying(32) NOT NULL,
976 description character varying(1024),
977 flavor character varying(32) NOT NULL,
978 "order" integer NOT NULL,
979 "default" boolean NOT NULL
980);
981
982
983ALTER TABLE public.core_flavor OWNER TO postgres;
984
985--
986-- Name: core_flavor_deployments; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
987--
988
989CREATE TABLE core_flavor_deployments (
990 id integer NOT NULL,
991 flavor_id integer NOT NULL,
992 deployment_id integer NOT NULL
993);
994
995
996ALTER TABLE public.core_flavor_deployments OWNER TO postgres;
997
998--
999-- Name: core_flavor_deployments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1000--
1001
1002CREATE SEQUENCE core_flavor_deployments_id_seq
1003 START WITH 1
1004 INCREMENT BY 1
1005 NO MINVALUE
1006 NO MAXVALUE
1007 CACHE 1;
1008
1009
1010ALTER TABLE public.core_flavor_deployments_id_seq OWNER TO postgres;
1011
1012--
1013-- Name: core_flavor_deployments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1014--
1015
1016ALTER SEQUENCE core_flavor_deployments_id_seq OWNED BY core_flavor_deployments.id;
1017
1018
1019--
1020-- Name: core_flavor_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1021--
1022
1023CREATE SEQUENCE core_flavor_id_seq
1024 START WITH 1
1025 INCREMENT BY 1
1026 NO MINVALUE
1027 NO MAXVALUE
1028 CACHE 1;
1029
1030
1031ALTER TABLE public.core_flavor_id_seq OWNER TO postgres;
1032
1033--
1034-- Name: core_flavor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1035--
1036
1037ALTER SEQUENCE core_flavor_id_seq OWNED BY core_flavor.id;
1038
1039
1040--
1041-- Name: core_image; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1042--
1043
1044CREATE TABLE core_image (
1045 id integer NOT NULL,
1046 created timestamp with time zone NOT NULL,
1047 updated timestamp with time zone NOT NULL,
1048 enacted timestamp with time zone,
1049 policed timestamp with time zone,
1050 backend_register character varying(140),
1051 backend_status character varying(1024) NOT NULL,
1052 deleted boolean NOT NULL,
1053 write_protect boolean NOT NULL,
1054 lazy_blocked boolean NOT NULL,
1055 no_sync boolean NOT NULL,
1056 name character varying(256) NOT NULL,
1057 disk_format character varying(256) NOT NULL,
1058 container_format character varying(256) NOT NULL,
1059 path character varying(256)
1060);
1061
1062
1063ALTER TABLE public.core_image OWNER TO postgres;
1064
1065--
1066-- Name: core_image_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1067--
1068
1069CREATE SEQUENCE core_image_id_seq
1070 START WITH 1
1071 INCREMENT BY 1
1072 NO MINVALUE
1073 NO MAXVALUE
1074 CACHE 1;
1075
1076
1077ALTER TABLE public.core_image_id_seq OWNER TO postgres;
1078
1079--
1080-- Name: core_image_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1081--
1082
1083ALTER SEQUENCE core_image_id_seq OWNED BY core_image.id;
1084
1085
1086--
1087-- Name: core_imagedeployments; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1088--
1089
1090CREATE TABLE core_imagedeployments (
1091 id integer NOT NULL,
1092 created timestamp with time zone NOT NULL,
1093 updated timestamp with time zone NOT NULL,
1094 enacted timestamp with time zone,
1095 policed timestamp with time zone,
1096 backend_register character varying(140),
1097 backend_status character varying(1024) NOT NULL,
1098 deleted boolean NOT NULL,
1099 write_protect boolean NOT NULL,
1100 lazy_blocked boolean NOT NULL,
1101 no_sync boolean NOT NULL,
1102 deployment_id integer NOT NULL,
1103 image_id integer NOT NULL
1104);
1105
1106
1107ALTER TABLE public.core_imagedeployments OWNER TO postgres;
1108
1109--
1110-- Name: core_imagedeployments_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1111--
1112
1113CREATE SEQUENCE core_imagedeployments_id_seq
1114 START WITH 1
1115 INCREMENT BY 1
1116 NO MINVALUE
1117 NO MAXVALUE
1118 CACHE 1;
1119
1120
1121ALTER TABLE public.core_imagedeployments_id_seq OWNER TO postgres;
1122
1123--
1124-- Name: core_imagedeployments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1125--
1126
1127ALTER SEQUENCE core_imagedeployments_id_seq OWNED BY core_imagedeployments.id;
1128
1129
1130--
1131-- Name: core_instance; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1132--
1133
1134CREATE TABLE core_instance (
1135 id integer NOT NULL,
1136 created timestamp with time zone NOT NULL,
1137 updated timestamp with time zone NOT NULL,
1138 enacted timestamp with time zone,
1139 policed timestamp with time zone,
1140 backend_register character varying(140),
1141 backend_status character varying(1024) NOT NULL,
1142 deleted boolean NOT NULL,
1143 write_protect boolean NOT NULL,
1144 lazy_blocked boolean NOT NULL,
1145 no_sync boolean NOT NULL,
1146 instance_id character varying(200),
1147 instance_uuid character varying(200),
1148 name character varying(200) NOT NULL,
1149 instance_name character varying(200),
1150 ip inet,
1151 "numberCores" integer NOT NULL,
1152 "userData" text,
1153 creator_id integer,
1154 deployment_id integer NOT NULL,
1155 flavor_id integer NOT NULL,
1156 image_id integer NOT NULL,
1157 node_id integer NOT NULL,
1158 slice_id integer NOT NULL
1159);
1160
1161
1162ALTER TABLE public.core_instance OWNER TO postgres;
1163
1164--
1165-- Name: core_instance_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1166--
1167
1168CREATE SEQUENCE core_instance_id_seq
1169 START WITH 1
1170 INCREMENT BY 1
1171 NO MINVALUE
1172 NO MAXVALUE
1173 CACHE 1;
1174
1175
1176ALTER TABLE public.core_instance_id_seq OWNER TO postgres;
1177
1178--
1179-- Name: core_instance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1180--
1181
1182ALTER SEQUENCE core_instance_id_seq OWNED BY core_instance.id;
1183
1184
1185--
1186-- Name: core_invoice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1187--
1188
1189CREATE TABLE core_invoice (
1190 id integer NOT NULL,
1191 created timestamp with time zone NOT NULL,
1192 updated timestamp with time zone NOT NULL,
1193 enacted timestamp with time zone,
1194 policed timestamp with time zone,
1195 backend_register character varying(140),
1196 backend_status character varying(1024) NOT NULL,
1197 deleted boolean NOT NULL,
1198 write_protect boolean NOT NULL,
1199 lazy_blocked boolean NOT NULL,
1200 no_sync boolean NOT NULL,
1201 date timestamp with time zone NOT NULL,
1202 account_id integer NOT NULL
1203);
1204
1205
1206ALTER TABLE public.core_invoice OWNER TO postgres;
1207
1208--
1209-- Name: core_invoice_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1210--
1211
1212CREATE SEQUENCE core_invoice_id_seq
1213 START WITH 1
1214 INCREMENT BY 1
1215 NO MINVALUE
1216 NO MAXVALUE
1217 CACHE 1;
1218
1219
1220ALTER TABLE public.core_invoice_id_seq OWNER TO postgres;
1221
1222--
1223-- Name: core_invoice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1224--
1225
1226ALTER SEQUENCE core_invoice_id_seq OWNED BY core_invoice.id;
1227
1228
1229--
1230-- Name: core_network; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1231--
1232
1233CREATE TABLE core_network (
1234 id integer NOT NULL,
1235 created timestamp with time zone NOT NULL,
1236 updated timestamp with time zone NOT NULL,
1237 enacted timestamp with time zone,
1238 policed timestamp with time zone,
1239 backend_register character varying(140),
1240 backend_status character varying(1024) NOT NULL,
1241 deleted boolean NOT NULL,
1242 write_protect boolean NOT NULL,
1243 lazy_blocked boolean NOT NULL,
1244 no_sync boolean NOT NULL,
1245 name character varying(32) NOT NULL,
1246 subnet character varying(32) NOT NULL,
1247 ports character varying(1024),
1248 labels character varying(1024),
1249 guaranteed_bandwidth integer NOT NULL,
1250 permit_all_slices boolean NOT NULL,
1251 topology_parameters text,
1252 controller_url character varying(1024),
1253 controller_parameters text,
1254 network_id character varying(256),
1255 router_id character varying(256),
1256 subnet_id character varying(256),
1257 autoconnect boolean NOT NULL,
1258 owner_id integer NOT NULL,
1259 template_id integer NOT NULL
1260);
1261
1262
1263ALTER TABLE public.core_network OWNER TO postgres;
1264
1265--
1266-- Name: core_network_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1267--
1268
1269CREATE SEQUENCE core_network_id_seq
1270 START WITH 1
1271 INCREMENT BY 1
1272 NO MINVALUE
1273 NO MAXVALUE
1274 CACHE 1;
1275
1276
1277ALTER TABLE public.core_network_id_seq OWNER TO postgres;
1278
1279--
1280-- Name: core_network_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1281--
1282
1283ALTER SEQUENCE core_network_id_seq OWNED BY core_network.id;
1284
1285
1286--
1287-- Name: core_network_permitted_slices; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1288--
1289
1290CREATE TABLE core_network_permitted_slices (
1291 id integer NOT NULL,
1292 network_id integer NOT NULL,
1293 slice_id integer NOT NULL
1294);
1295
1296
1297ALTER TABLE public.core_network_permitted_slices OWNER TO postgres;
1298
1299--
1300-- Name: core_network_permitted_slices_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1301--
1302
1303CREATE SEQUENCE core_network_permitted_slices_id_seq
1304 START WITH 1
1305 INCREMENT BY 1
1306 NO MINVALUE
1307 NO MAXVALUE
1308 CACHE 1;
1309
1310
1311ALTER TABLE public.core_network_permitted_slices_id_seq OWNER TO postgres;
1312
1313--
1314-- Name: core_network_permitted_slices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1315--
1316
1317ALTER SEQUENCE core_network_permitted_slices_id_seq OWNED BY core_network_permitted_slices.id;
1318
1319
1320--
1321-- Name: core_networkparameter; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1322--
1323
1324CREATE TABLE core_networkparameter (
1325 id integer NOT NULL,
1326 created timestamp with time zone NOT NULL,
1327 updated timestamp with time zone NOT NULL,
1328 enacted timestamp with time zone,
1329 policed timestamp with time zone,
1330 backend_register character varying(140),
1331 backend_status character varying(1024) NOT NULL,
1332 deleted boolean NOT NULL,
1333 write_protect boolean NOT NULL,
1334 lazy_blocked boolean NOT NULL,
1335 no_sync boolean NOT NULL,
1336 value character varying(1024) NOT NULL,
1337 object_id integer NOT NULL,
1338 content_type_id integer NOT NULL,
1339 parameter_id integer NOT NULL,
1340 CONSTRAINT core_networkparameter_object_id_check CHECK ((object_id >= 0))
1341);
1342
1343
1344ALTER TABLE public.core_networkparameter OWNER TO postgres;
1345
1346--
1347-- Name: core_networkparameter_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1348--
1349
1350CREATE SEQUENCE core_networkparameter_id_seq
1351 START WITH 1
1352 INCREMENT BY 1
1353 NO MINVALUE
1354 NO MAXVALUE
1355 CACHE 1;
1356
1357
1358ALTER TABLE public.core_networkparameter_id_seq OWNER TO postgres;
1359
1360--
1361-- Name: core_networkparameter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1362--
1363
1364ALTER SEQUENCE core_networkparameter_id_seq OWNED BY core_networkparameter.id;
1365
1366
1367--
1368-- Name: core_networkparametertype; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1369--
1370
1371CREATE TABLE core_networkparametertype (
1372 id integer NOT NULL,
1373 created timestamp with time zone NOT NULL,
1374 updated timestamp with time zone NOT NULL,
1375 enacted timestamp with time zone,
1376 policed timestamp with time zone,
1377 backend_register character varying(140),
1378 backend_status character varying(1024) NOT NULL,
1379 deleted boolean NOT NULL,
1380 write_protect boolean NOT NULL,
1381 lazy_blocked boolean NOT NULL,
1382 no_sync boolean NOT NULL,
1383 name character varying(128) NOT NULL,
1384 description character varying(1024) NOT NULL
1385);
1386
1387
1388ALTER TABLE public.core_networkparametertype OWNER TO postgres;
1389
1390--
1391-- Name: core_networkparametertype_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1392--
1393
1394CREATE SEQUENCE core_networkparametertype_id_seq
1395 START WITH 1
1396 INCREMENT BY 1
1397 NO MINVALUE
1398 NO MAXVALUE
1399 CACHE 1;
1400
1401
1402ALTER TABLE public.core_networkparametertype_id_seq OWNER TO postgres;
1403
1404--
1405-- Name: core_networkparametertype_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1406--
1407
1408ALTER SEQUENCE core_networkparametertype_id_seq OWNED BY core_networkparametertype.id;
1409
1410
1411--
1412-- Name: core_networkslice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1413--
1414
1415CREATE TABLE core_networkslice (
1416 id integer NOT NULL,
1417 created timestamp with time zone NOT NULL,
1418 updated timestamp with time zone NOT NULL,
1419 enacted timestamp with time zone,
1420 policed timestamp with time zone,
1421 backend_register character varying(140),
1422 backend_status character varying(1024) NOT NULL,
1423 deleted boolean NOT NULL,
1424 write_protect boolean NOT NULL,
1425 lazy_blocked boolean NOT NULL,
1426 no_sync boolean NOT NULL,
1427 network_id integer NOT NULL,
1428 slice_id integer NOT NULL
1429);
1430
1431
1432ALTER TABLE public.core_networkslice OWNER TO postgres;
1433
1434--
1435-- Name: core_networkslice_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1436--
1437
1438CREATE SEQUENCE core_networkslice_id_seq
1439 START WITH 1
1440 INCREMENT BY 1
1441 NO MINVALUE
1442 NO MAXVALUE
1443 CACHE 1;
1444
1445
1446ALTER TABLE public.core_networkslice_id_seq OWNER TO postgres;
1447
1448--
1449-- Name: core_networkslice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1450--
1451
1452ALTER SEQUENCE core_networkslice_id_seq OWNED BY core_networkslice.id;
1453
1454
1455--
1456-- Name: core_networktemplate; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1457--
1458
1459CREATE TABLE core_networktemplate (
1460 id integer NOT NULL,
1461 created timestamp with time zone NOT NULL,
1462 updated timestamp with time zone NOT NULL,
1463 enacted timestamp with time zone,
1464 policed timestamp with time zone,
1465 backend_register character varying(140),
1466 backend_status character varying(1024) NOT NULL,
1467 deleted boolean NOT NULL,
1468 write_protect boolean NOT NULL,
1469 lazy_blocked boolean NOT NULL,
1470 no_sync boolean NOT NULL,
1471 name character varying(32) NOT NULL,
1472 description character varying(1024),
1473 guaranteed_bandwidth integer NOT NULL,
1474 visibility character varying(30) NOT NULL,
1475 translation character varying(30) NOT NULL,
1476 shared_network_name character varying(30),
1477 shared_network_id character varying(256),
1478 topology_kind character varying(30) NOT NULL,
1479 controller_kind character varying(30)
1480);
1481
1482
1483ALTER TABLE public.core_networktemplate OWNER TO postgres;
1484
1485--
1486-- Name: core_networktemplate_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1487--
1488
1489CREATE SEQUENCE core_networktemplate_id_seq
1490 START WITH 1
1491 INCREMENT BY 1
1492 NO MINVALUE
1493 NO MAXVALUE
1494 CACHE 1;
1495
1496
1497ALTER TABLE public.core_networktemplate_id_seq OWNER TO postgres;
1498
1499--
1500-- Name: core_networktemplate_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1501--
1502
1503ALTER SEQUENCE core_networktemplate_id_seq OWNED BY core_networktemplate.id;
1504
1505
1506--
1507-- Name: core_node; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1508--
1509
1510CREATE TABLE core_node (
1511 id integer NOT NULL,
1512 created timestamp with time zone NOT NULL,
1513 updated timestamp with time zone NOT NULL,
1514 enacted timestamp with time zone,
1515 policed timestamp with time zone,
1516 backend_register character varying(140),
1517 backend_status character varying(1024) NOT NULL,
1518 deleted boolean NOT NULL,
1519 write_protect boolean NOT NULL,
1520 lazy_blocked boolean NOT NULL,
1521 no_sync boolean NOT NULL,
1522 name character varying(200) NOT NULL,
1523 site_id integer,
1524 site_deployment_id integer NOT NULL
1525);
1526
1527
1528ALTER TABLE public.core_node OWNER TO postgres;
1529
1530--
1531-- Name: core_node_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1532--
1533
1534CREATE SEQUENCE core_node_id_seq
1535 START WITH 1
1536 INCREMENT BY 1
1537 NO MINVALUE
1538 NO MAXVALUE
1539 CACHE 1;
1540
1541
1542ALTER TABLE public.core_node_id_seq OWNER TO postgres;
1543
1544--
1545-- Name: core_node_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1546--
1547
1548ALTER SEQUENCE core_node_id_seq OWNED BY core_node.id;
1549
1550
1551--
1552-- Name: core_payment; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1553--
1554
1555CREATE TABLE core_payment (
1556 id integer NOT NULL,
1557 created timestamp with time zone NOT NULL,
1558 updated timestamp with time zone NOT NULL,
1559 enacted timestamp with time zone,
1560 policed timestamp with time zone,
1561 backend_register character varying(140),
1562 backend_status character varying(1024) NOT NULL,
1563 deleted boolean NOT NULL,
1564 write_protect boolean NOT NULL,
1565 lazy_blocked boolean NOT NULL,
1566 no_sync boolean NOT NULL,
1567 amount double precision NOT NULL,
1568 date timestamp with time zone NOT NULL,
1569 account_id integer NOT NULL
1570);
1571
1572
1573ALTER TABLE public.core_payment OWNER TO postgres;
1574
1575--
1576-- Name: core_payment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1577--
1578
1579CREATE SEQUENCE core_payment_id_seq
1580 START WITH 1
1581 INCREMENT BY 1
1582 NO MINVALUE
1583 NO MAXVALUE
1584 CACHE 1;
1585
1586
1587ALTER TABLE public.core_payment_id_seq OWNER TO postgres;
1588
1589--
1590-- Name: core_payment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1591--
1592
1593ALTER SEQUENCE core_payment_id_seq OWNED BY core_payment.id;
1594
1595
1596--
1597-- Name: core_port; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1598--
1599
1600CREATE TABLE core_port (
1601 id integer NOT NULL,
1602 created timestamp with time zone NOT NULL,
1603 updated timestamp with time zone NOT NULL,
1604 enacted timestamp with time zone,
1605 policed timestamp with time zone,
1606 backend_register character varying(140),
1607 backend_status character varying(1024) NOT NULL,
1608 deleted boolean NOT NULL,
1609 write_protect boolean NOT NULL,
1610 lazy_blocked boolean NOT NULL,
1611 no_sync boolean NOT NULL,
1612 ip inet,
1613 port_id character varying(256),
1614 mac character varying(256),
1615 instance_id integer,
1616 network_id integer NOT NULL
1617);
1618
1619
1620ALTER TABLE public.core_port OWNER TO postgres;
1621
1622--
1623-- Name: core_port_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1624--
1625
1626CREATE SEQUENCE core_port_id_seq
1627 START WITH 1
1628 INCREMENT BY 1
1629 NO MINVALUE
1630 NO MAXVALUE
1631 CACHE 1;
1632
1633
1634ALTER TABLE public.core_port_id_seq OWNER TO postgres;
1635
1636--
1637-- Name: core_port_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1638--
1639
1640ALTER SEQUENCE core_port_id_seq OWNED BY core_port.id;
1641
1642
1643--
1644-- Name: core_program; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1645--
1646
1647CREATE TABLE core_program (
1648 id integer NOT NULL,
1649 created timestamp with time zone NOT NULL,
1650 updated timestamp with time zone NOT NULL,
1651 enacted timestamp with time zone,
1652 policed timestamp with time zone,
1653 backend_register character varying(140),
1654 backend_status character varying(1024) NOT NULL,
1655 deleted boolean NOT NULL,
1656 write_protect boolean NOT NULL,
1657 lazy_blocked boolean NOT NULL,
1658 no_sync boolean NOT NULL,
1659 name character varying(30) NOT NULL,
1660 description text,
1661 kind character varying(30) NOT NULL,
1662 command character varying(30),
1663 contents text,
1664 output text,
1665 messages text,
1666 status text,
1667 owner_id integer
1668);
1669
1670
1671ALTER TABLE public.core_program OWNER TO postgres;
1672
1673--
1674-- Name: core_program_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1675--
1676
1677CREATE SEQUENCE core_program_id_seq
1678 START WITH 1
1679 INCREMENT BY 1
1680 NO MINVALUE
1681 NO MAXVALUE
1682 CACHE 1;
1683
1684
1685ALTER TABLE public.core_program_id_seq OWNER TO postgres;
1686
1687--
1688-- Name: core_program_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1689--
1690
1691ALTER SEQUENCE core_program_id_seq OWNED BY core_program.id;
1692
1693
1694--
1695-- Name: core_project; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1696--
1697
1698CREATE TABLE core_project (
1699 id integer NOT NULL,
1700 created timestamp with time zone NOT NULL,
1701 updated timestamp with time zone NOT NULL,
1702 enacted timestamp with time zone,
1703 policed timestamp with time zone,
1704 backend_register character varying(140),
1705 backend_status character varying(1024) NOT NULL,
1706 deleted boolean NOT NULL,
1707 write_protect boolean NOT NULL,
1708 lazy_blocked boolean NOT NULL,
1709 no_sync boolean NOT NULL,
1710 name character varying(200) NOT NULL
1711);
1712
1713
1714ALTER TABLE public.core_project OWNER TO postgres;
1715
1716--
1717-- Name: core_project_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1718--
1719
1720CREATE SEQUENCE core_project_id_seq
1721 START WITH 1
1722 INCREMENT BY 1
1723 NO MINVALUE
1724 NO MAXVALUE
1725 CACHE 1;
1726
1727
1728ALTER TABLE public.core_project_id_seq OWNER TO postgres;
1729
1730--
1731-- Name: core_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1732--
1733
1734ALTER SEQUENCE core_project_id_seq OWNED BY core_project.id;
1735
1736
1737--
1738-- Name: core_reservation; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1739--
1740
1741CREATE TABLE core_reservation (
1742 id integer NOT NULL,
1743 created timestamp with time zone NOT NULL,
1744 updated timestamp with time zone NOT NULL,
1745 enacted timestamp with time zone,
1746 policed timestamp with time zone,
1747 backend_register character varying(140),
1748 backend_status character varying(1024) NOT NULL,
1749 deleted boolean NOT NULL,
1750 write_protect boolean NOT NULL,
1751 lazy_blocked boolean NOT NULL,
1752 no_sync boolean NOT NULL,
1753 "startTime" timestamp with time zone NOT NULL,
1754 duration integer NOT NULL,
1755 slice_id integer NOT NULL
1756);
1757
1758
1759ALTER TABLE public.core_reservation OWNER TO postgres;
1760
1761--
1762-- Name: core_reservation_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1763--
1764
1765CREATE SEQUENCE core_reservation_id_seq
1766 START WITH 1
1767 INCREMENT BY 1
1768 NO MINVALUE
1769 NO MAXVALUE
1770 CACHE 1;
1771
1772
1773ALTER TABLE public.core_reservation_id_seq OWNER TO postgres;
1774
1775--
1776-- Name: core_reservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1777--
1778
1779ALTER SEQUENCE core_reservation_id_seq OWNED BY core_reservation.id;
1780
1781
1782--
1783-- Name: core_reservedresource; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1784--
1785
1786CREATE TABLE core_reservedresource (
1787 id integer NOT NULL,
1788 created timestamp with time zone NOT NULL,
1789 updated timestamp with time zone NOT NULL,
1790 enacted timestamp with time zone,
1791 policed timestamp with time zone,
1792 backend_register character varying(140),
1793 backend_status character varying(1024) NOT NULL,
1794 deleted boolean NOT NULL,
1795 write_protect boolean NOT NULL,
1796 lazy_blocked boolean NOT NULL,
1797 no_sync boolean NOT NULL,
1798 quantity integer NOT NULL,
1799 instance_id integer NOT NULL,
1800 "reservationSet_id" integer NOT NULL,
1801 resource_id integer NOT NULL
1802);
1803
1804
1805ALTER TABLE public.core_reservedresource OWNER TO postgres;
1806
1807--
1808-- Name: core_reservedresource_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1809--
1810
1811CREATE SEQUENCE core_reservedresource_id_seq
1812 START WITH 1
1813 INCREMENT BY 1
1814 NO MINVALUE
1815 NO MAXVALUE
1816 CACHE 1;
1817
1818
1819ALTER TABLE public.core_reservedresource_id_seq OWNER TO postgres;
1820
1821--
1822-- Name: core_reservedresource_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1823--
1824
1825ALTER SEQUENCE core_reservedresource_id_seq OWNED BY core_reservedresource.id;
1826
1827
1828--
1829-- Name: core_role; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1830--
1831
1832CREATE TABLE core_role (
1833 id integer NOT NULL,
1834 created timestamp with time zone NOT NULL,
1835 updated timestamp with time zone NOT NULL,
1836 enacted timestamp with time zone,
1837 policed timestamp with time zone,
1838 backend_register character varying(140),
1839 backend_status character varying(1024) NOT NULL,
1840 deleted boolean NOT NULL,
1841 write_protect boolean NOT NULL,
1842 lazy_blocked boolean NOT NULL,
1843 no_sync boolean NOT NULL,
1844 role_type character varying(80) NOT NULL,
1845 role character varying(80),
1846 description character varying(120) NOT NULL,
1847 content_type_id integer NOT NULL
1848);
1849
1850
1851ALTER TABLE public.core_role OWNER TO postgres;
1852
1853--
1854-- Name: core_role_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1855--
1856
1857CREATE SEQUENCE core_role_id_seq
1858 START WITH 1
1859 INCREMENT BY 1
1860 NO MINVALUE
1861 NO MAXVALUE
1862 CACHE 1;
1863
1864
1865ALTER TABLE public.core_role_id_seq OWNER TO postgres;
1866
1867--
1868-- Name: core_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1869--
1870
1871ALTER SEQUENCE core_role_id_seq OWNED BY core_role.id;
1872
1873
1874--
1875-- Name: core_router; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1876--
1877
1878CREATE TABLE core_router (
1879 id integer NOT NULL,
1880 created timestamp with time zone NOT NULL,
1881 updated timestamp with time zone NOT NULL,
1882 enacted timestamp with time zone,
1883 policed timestamp with time zone,
1884 backend_register character varying(140),
1885 backend_status character varying(1024) NOT NULL,
1886 deleted boolean NOT NULL,
1887 write_protect boolean NOT NULL,
1888 lazy_blocked boolean NOT NULL,
1889 no_sync boolean NOT NULL,
1890 name character varying(32) NOT NULL,
1891 owner_id integer NOT NULL
1892);
1893
1894
1895ALTER TABLE public.core_router OWNER TO postgres;
1896
1897--
1898-- Name: core_router_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1899--
1900
1901CREATE SEQUENCE core_router_id_seq
1902 START WITH 1
1903 INCREMENT BY 1
1904 NO MINVALUE
1905 NO MAXVALUE
1906 CACHE 1;
1907
1908
1909ALTER TABLE public.core_router_id_seq OWNER TO postgres;
1910
1911--
1912-- Name: core_router_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1913--
1914
1915ALTER SEQUENCE core_router_id_seq OWNED BY core_router.id;
1916
1917
1918--
1919-- Name: core_router_networks; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1920--
1921
1922CREATE TABLE core_router_networks (
1923 id integer NOT NULL,
1924 router_id integer NOT NULL,
1925 network_id integer NOT NULL
1926);
1927
1928
1929ALTER TABLE public.core_router_networks OWNER TO postgres;
1930
1931--
1932-- Name: core_router_networks_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1933--
1934
1935CREATE SEQUENCE core_router_networks_id_seq
1936 START WITH 1
1937 INCREMENT BY 1
1938 NO MINVALUE
1939 NO MAXVALUE
1940 CACHE 1;
1941
1942
1943ALTER TABLE public.core_router_networks_id_seq OWNER TO postgres;
1944
1945--
1946-- Name: core_router_networks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1947--
1948
1949ALTER SEQUENCE core_router_networks_id_seq OWNED BY core_router_networks.id;
1950
1951
1952--
1953-- Name: core_router_permittedNetworks; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1954--
1955
1956CREATE TABLE "core_router_permittedNetworks" (
1957 id integer NOT NULL,
1958 router_id integer NOT NULL,
1959 network_id integer NOT NULL
1960);
1961
1962
1963ALTER TABLE public."core_router_permittedNetworks" OWNER TO postgres;
1964
1965--
1966-- Name: core_router_permittedNetworks_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
1967--
1968
1969CREATE SEQUENCE "core_router_permittedNetworks_id_seq"
1970 START WITH 1
1971 INCREMENT BY 1
1972 NO MINVALUE
1973 NO MAXVALUE
1974 CACHE 1;
1975
1976
1977ALTER TABLE public."core_router_permittedNetworks_id_seq" OWNER TO postgres;
1978
1979--
1980-- Name: core_router_permittedNetworks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
1981--
1982
1983ALTER SEQUENCE "core_router_permittedNetworks_id_seq" OWNED BY "core_router_permittedNetworks".id;
1984
1985
1986--
1987-- Name: core_service; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
1988--
1989
1990CREATE TABLE core_service (
1991 id integer NOT NULL,
1992 created timestamp with time zone NOT NULL,
1993 updated timestamp with time zone NOT NULL,
1994 enacted timestamp with time zone,
1995 policed timestamp with time zone,
1996 backend_register character varying(140),
1997 backend_status character varying(1024) NOT NULL,
1998 deleted boolean NOT NULL,
1999 write_protect boolean NOT NULL,
2000 lazy_blocked boolean NOT NULL,
2001 no_sync boolean NOT NULL,
2002 description text,
2003 enabled boolean NOT NULL,
2004 kind character varying(30) NOT NULL,
2005 name character varying(30) NOT NULL,
2006 "versionNumber" character varying(30) NOT NULL,
2007 published boolean NOT NULL,
2008 view_url character varying(1024),
2009 icon_url character varying(1024),
2010 public_key text,
2011 service_specific_id character varying(30),
2012 service_specific_attribute text
2013);
2014
2015
2016ALTER TABLE public.core_service OWNER TO postgres;
2017
2018--
2019-- Name: core_service_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2020--
2021
2022CREATE SEQUENCE core_service_id_seq
2023 START WITH 1
2024 INCREMENT BY 1
2025 NO MINVALUE
2026 NO MAXVALUE
2027 CACHE 1;
2028
2029
2030ALTER TABLE public.core_service_id_seq OWNER TO postgres;
2031
2032--
2033-- Name: core_service_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2034--
2035
2036ALTER SEQUENCE core_service_id_seq OWNED BY core_service.id;
2037
2038
2039--
2040-- Name: core_serviceattribute; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2041--
2042
2043CREATE TABLE core_serviceattribute (
2044 id integer NOT NULL,
2045 created timestamp with time zone NOT NULL,
2046 updated timestamp with time zone NOT NULL,
2047 enacted timestamp with time zone,
2048 policed timestamp with time zone,
2049 backend_register character varying(140),
2050 backend_status character varying(1024) NOT NULL,
2051 deleted boolean NOT NULL,
2052 write_protect boolean NOT NULL,
2053 lazy_blocked boolean NOT NULL,
2054 no_sync boolean NOT NULL,
2055 name character varying(128) NOT NULL,
2056 value character varying(1024) NOT NULL,
2057 service_id integer NOT NULL
2058);
2059
2060
2061ALTER TABLE public.core_serviceattribute OWNER TO postgres;
2062
2063--
2064-- Name: core_serviceattribute_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2065--
2066
2067CREATE SEQUENCE core_serviceattribute_id_seq
2068 START WITH 1
2069 INCREMENT BY 1
2070 NO MINVALUE
2071 NO MAXVALUE
2072 CACHE 1;
2073
2074
2075ALTER TABLE public.core_serviceattribute_id_seq OWNER TO postgres;
2076
2077--
2078-- Name: core_serviceattribute_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2079--
2080
2081ALTER SEQUENCE core_serviceattribute_id_seq OWNED BY core_serviceattribute.id;
2082
2083
2084--
2085-- Name: core_serviceclass; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2086--
2087
2088CREATE TABLE core_serviceclass (
2089 id integer NOT NULL,
2090 created timestamp with time zone NOT NULL,
2091 updated timestamp with time zone NOT NULL,
2092 enacted timestamp with time zone,
2093 policed timestamp with time zone,
2094 backend_register character varying(140),
2095 backend_status character varying(1024) NOT NULL,
2096 deleted boolean NOT NULL,
2097 write_protect boolean NOT NULL,
2098 lazy_blocked boolean NOT NULL,
2099 no_sync boolean NOT NULL,
2100 name character varying(32) NOT NULL,
2101 description character varying(255) NOT NULL,
2102 commitment integer NOT NULL,
2103 "membershipFee" integer NOT NULL,
2104 "membershipFeeMonths" integer NOT NULL,
2105 "upgradeRequiresApproval" boolean NOT NULL
2106);
2107
2108
2109ALTER TABLE public.core_serviceclass OWNER TO postgres;
2110
2111--
2112-- Name: core_serviceclass_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2113--
2114
2115CREATE SEQUENCE core_serviceclass_id_seq
2116 START WITH 1
2117 INCREMENT BY 1
2118 NO MINVALUE
2119 NO MAXVALUE
2120 CACHE 1;
2121
2122
2123ALTER TABLE public.core_serviceclass_id_seq OWNER TO postgres;
2124
2125--
2126-- Name: core_serviceclass_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2127--
2128
2129ALTER SEQUENCE core_serviceclass_id_seq OWNED BY core_serviceclass.id;
2130
2131
2132--
2133-- Name: core_serviceclass_upgradeFrom; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2134--
2135
2136CREATE TABLE "core_serviceclass_upgradeFrom" (
2137 id integer NOT NULL,
2138 from_serviceclass_id integer NOT NULL,
2139 to_serviceclass_id integer NOT NULL
2140);
2141
2142
2143ALTER TABLE public."core_serviceclass_upgradeFrom" OWNER TO postgres;
2144
2145--
2146-- Name: core_serviceclass_upgradeFrom_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2147--
2148
2149CREATE SEQUENCE "core_serviceclass_upgradeFrom_id_seq"
2150 START WITH 1
2151 INCREMENT BY 1
2152 NO MINVALUE
2153 NO MAXVALUE
2154 CACHE 1;
2155
2156
2157ALTER TABLE public."core_serviceclass_upgradeFrom_id_seq" OWNER TO postgres;
2158
2159--
2160-- Name: core_serviceclass_upgradeFrom_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2161--
2162
2163ALTER SEQUENCE "core_serviceclass_upgradeFrom_id_seq" OWNED BY "core_serviceclass_upgradeFrom".id;
2164
2165
2166--
2167-- Name: core_serviceprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2168--
2169
2170CREATE TABLE core_serviceprivilege (
2171 id integer NOT NULL,
2172 created timestamp with time zone NOT NULL,
2173 updated timestamp with time zone NOT NULL,
2174 enacted timestamp with time zone,
2175 policed timestamp with time zone,
2176 backend_register character varying(140),
2177 backend_status character varying(1024) NOT NULL,
2178 deleted boolean NOT NULL,
2179 write_protect boolean NOT NULL,
2180 lazy_blocked boolean NOT NULL,
2181 no_sync boolean NOT NULL,
2182 role_id integer NOT NULL,
2183 service_id integer NOT NULL,
2184 user_id integer NOT NULL
2185);
2186
2187
2188ALTER TABLE public.core_serviceprivilege OWNER TO postgres;
2189
2190--
2191-- Name: core_serviceprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2192--
2193
2194CREATE SEQUENCE core_serviceprivilege_id_seq
2195 START WITH 1
2196 INCREMENT BY 1
2197 NO MINVALUE
2198 NO MAXVALUE
2199 CACHE 1;
2200
2201
2202ALTER TABLE public.core_serviceprivilege_id_seq OWNER TO postgres;
2203
2204--
2205-- Name: core_serviceprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2206--
2207
2208ALTER SEQUENCE core_serviceprivilege_id_seq OWNED BY core_serviceprivilege.id;
2209
2210
2211--
2212-- Name: core_serviceresource; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2213--
2214
2215CREATE TABLE core_serviceresource (
2216 id integer NOT NULL,
2217 created timestamp with time zone NOT NULL,
2218 updated timestamp with time zone NOT NULL,
2219 enacted timestamp with time zone,
2220 policed timestamp with time zone,
2221 backend_register character varying(140),
2222 backend_status character varying(1024) NOT NULL,
2223 deleted boolean NOT NULL,
2224 write_protect boolean NOT NULL,
2225 lazy_blocked boolean NOT NULL,
2226 no_sync boolean NOT NULL,
2227 name character varying(32) NOT NULL,
2228 "maxUnitsDeployment" integer NOT NULL,
2229 "maxUnitsNode" integer NOT NULL,
2230 "maxDuration" integer NOT NULL,
2231 "bucketInRate" integer NOT NULL,
2232 "bucketMaxSize" integer NOT NULL,
2233 cost integer NOT NULL,
2234 "calendarReservable" boolean NOT NULL,
2235 "serviceClass_id" integer NOT NULL
2236);
2237
2238
2239ALTER TABLE public.core_serviceresource OWNER TO postgres;
2240
2241--
2242-- Name: core_serviceresource_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2243--
2244
2245CREATE SEQUENCE core_serviceresource_id_seq
2246 START WITH 1
2247 INCREMENT BY 1
2248 NO MINVALUE
2249 NO MAXVALUE
2250 CACHE 1;
2251
2252
2253ALTER TABLE public.core_serviceresource_id_seq OWNER TO postgres;
2254
2255--
2256-- Name: core_serviceresource_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2257--
2258
2259ALTER SEQUENCE core_serviceresource_id_seq OWNED BY core_serviceresource.id;
2260
2261
2262--
2263-- Name: core_servicerole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2264--
2265
2266CREATE TABLE core_servicerole (
2267 id integer NOT NULL,
2268 created timestamp with time zone NOT NULL,
2269 updated timestamp with time zone NOT NULL,
2270 enacted timestamp with time zone,
2271 policed timestamp with time zone,
2272 backend_register character varying(140),
2273 backend_status character varying(1024) NOT NULL,
2274 deleted boolean NOT NULL,
2275 write_protect boolean NOT NULL,
2276 lazy_blocked boolean NOT NULL,
2277 no_sync boolean NOT NULL,
2278 role character varying(30) NOT NULL
2279);
2280
2281
2282ALTER TABLE public.core_servicerole OWNER TO postgres;
2283
2284--
2285-- Name: core_servicerole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2286--
2287
2288CREATE SEQUENCE core_servicerole_id_seq
2289 START WITH 1
2290 INCREMENT BY 1
2291 NO MINVALUE
2292 NO MAXVALUE
2293 CACHE 1;
2294
2295
2296ALTER TABLE public.core_servicerole_id_seq OWNER TO postgres;
2297
2298--
2299-- Name: core_servicerole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2300--
2301
2302ALTER SEQUENCE core_servicerole_id_seq OWNED BY core_servicerole.id;
2303
2304
2305--
2306-- Name: core_site; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2307--
2308
2309CREATE TABLE core_site (
2310 id integer NOT NULL,
2311 created timestamp with time zone NOT NULL,
2312 updated timestamp with time zone NOT NULL,
2313 enacted timestamp with time zone,
2314 policed timestamp with time zone,
2315 backend_register character varying(140),
2316 backend_status character varying(1024) NOT NULL,
2317 deleted boolean NOT NULL,
2318 write_protect boolean NOT NULL,
2319 lazy_blocked boolean NOT NULL,
2320 no_sync boolean NOT NULL,
2321 name character varying(200) NOT NULL,
2322 site_url character varying(512),
2323 enabled boolean NOT NULL,
2324 hosts_nodes boolean NOT NULL,
2325 hosts_users boolean NOT NULL,
2326 location character varying(42) NOT NULL,
2327 longitude double precision,
2328 latitude double precision,
2329 login_base character varying(50) NOT NULL,
2330 is_public boolean NOT NULL,
2331 abbreviated_name character varying(80) NOT NULL
2332);
2333
2334
2335ALTER TABLE public.core_site OWNER TO postgres;
2336
2337--
2338-- Name: core_site_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2339--
2340
2341CREATE SEQUENCE core_site_id_seq
2342 START WITH 1
2343 INCREMENT BY 1
2344 NO MINVALUE
2345 NO MAXVALUE
2346 CACHE 1;
2347
2348
2349ALTER TABLE public.core_site_id_seq OWNER TO postgres;
2350
2351--
2352-- Name: core_site_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2353--
2354
2355ALTER SEQUENCE core_site_id_seq OWNED BY core_site.id;
2356
2357
2358--
2359-- Name: core_sitecredential; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2360--
2361
2362CREATE TABLE core_sitecredential (
2363 id integer NOT NULL,
2364 created timestamp with time zone NOT NULL,
2365 updated timestamp with time zone NOT NULL,
2366 enacted timestamp with time zone,
2367 policed timestamp with time zone,
2368 backend_register character varying(140),
2369 backend_status character varying(1024) NOT NULL,
2370 deleted boolean NOT NULL,
2371 write_protect boolean NOT NULL,
2372 lazy_blocked boolean NOT NULL,
2373 no_sync boolean NOT NULL,
2374 name character varying(128) NOT NULL,
2375 key_id character varying(1024) NOT NULL,
2376 enc_value text NOT NULL,
2377 site_id integer NOT NULL
2378);
2379
2380
2381ALTER TABLE public.core_sitecredential OWNER TO postgres;
2382
2383--
2384-- Name: core_sitecredential_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2385--
2386
2387CREATE SEQUENCE core_sitecredential_id_seq
2388 START WITH 1
2389 INCREMENT BY 1
2390 NO MINVALUE
2391 NO MAXVALUE
2392 CACHE 1;
2393
2394
2395ALTER TABLE public.core_sitecredential_id_seq OWNER TO postgres;
2396
2397--
2398-- Name: core_sitecredential_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2399--
2400
2401ALTER SEQUENCE core_sitecredential_id_seq OWNED BY core_sitecredential.id;
2402
2403
2404--
2405-- Name: core_sitedeployment; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2406--
2407
2408CREATE TABLE core_sitedeployment (
2409 id integer NOT NULL,
2410 created timestamp with time zone NOT NULL,
2411 updated timestamp with time zone NOT NULL,
2412 enacted timestamp with time zone,
2413 policed timestamp with time zone,
2414 backend_register character varying(140),
2415 backend_status character varying(1024) NOT NULL,
2416 deleted boolean NOT NULL,
2417 write_protect boolean NOT NULL,
2418 lazy_blocked boolean NOT NULL,
2419 no_sync boolean NOT NULL,
2420 availability_zone character varying(200),
2421 controller_id integer,
2422 deployment_id integer NOT NULL,
2423 site_id integer NOT NULL
2424);
2425
2426
2427ALTER TABLE public.core_sitedeployment OWNER TO postgres;
2428
2429--
2430-- Name: core_sitedeployment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2431--
2432
2433CREATE SEQUENCE core_sitedeployment_id_seq
2434 START WITH 1
2435 INCREMENT BY 1
2436 NO MINVALUE
2437 NO MAXVALUE
2438 CACHE 1;
2439
2440
2441ALTER TABLE public.core_sitedeployment_id_seq OWNER TO postgres;
2442
2443--
2444-- Name: core_sitedeployment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2445--
2446
2447ALTER SEQUENCE core_sitedeployment_id_seq OWNED BY core_sitedeployment.id;
2448
2449
2450--
2451-- Name: core_siteprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2452--
2453
2454CREATE TABLE core_siteprivilege (
2455 id integer NOT NULL,
2456 created timestamp with time zone NOT NULL,
2457 updated timestamp with time zone NOT NULL,
2458 enacted timestamp with time zone,
2459 policed timestamp with time zone,
2460 backend_register character varying(140),
2461 backend_status character varying(1024) NOT NULL,
2462 deleted boolean NOT NULL,
2463 write_protect boolean NOT NULL,
2464 lazy_blocked boolean NOT NULL,
2465 no_sync boolean NOT NULL,
2466 role_id integer NOT NULL,
2467 site_id integer NOT NULL,
2468 user_id integer NOT NULL
2469);
2470
2471
2472ALTER TABLE public.core_siteprivilege OWNER TO postgres;
2473
2474--
2475-- Name: core_siteprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2476--
2477
2478CREATE SEQUENCE core_siteprivilege_id_seq
2479 START WITH 1
2480 INCREMENT BY 1
2481 NO MINVALUE
2482 NO MAXVALUE
2483 CACHE 1;
2484
2485
2486ALTER TABLE public.core_siteprivilege_id_seq OWNER TO postgres;
2487
2488--
2489-- Name: core_siteprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2490--
2491
2492ALTER SEQUENCE core_siteprivilege_id_seq OWNED BY core_siteprivilege.id;
2493
2494
2495--
2496-- Name: core_siterole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2497--
2498
2499CREATE TABLE core_siterole (
2500 id integer NOT NULL,
2501 created timestamp with time zone NOT NULL,
2502 updated timestamp with time zone NOT NULL,
2503 enacted timestamp with time zone,
2504 policed timestamp with time zone,
2505 backend_register character varying(140),
2506 backend_status character varying(1024) NOT NULL,
2507 deleted boolean NOT NULL,
2508 write_protect boolean NOT NULL,
2509 lazy_blocked boolean NOT NULL,
2510 no_sync boolean NOT NULL,
2511 role character varying(30) NOT NULL
2512);
2513
2514
2515ALTER TABLE public.core_siterole OWNER TO postgres;
2516
2517--
2518-- Name: core_siterole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2519--
2520
2521CREATE SEQUENCE core_siterole_id_seq
2522 START WITH 1
2523 INCREMENT BY 1
2524 NO MINVALUE
2525 NO MAXVALUE
2526 CACHE 1;
2527
2528
2529ALTER TABLE public.core_siterole_id_seq OWNER TO postgres;
2530
2531--
2532-- Name: core_siterole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2533--
2534
2535ALTER SEQUENCE core_siterole_id_seq OWNED BY core_siterole.id;
2536
2537
2538--
2539-- Name: core_slice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2540--
2541
2542CREATE TABLE core_slice (
2543 id integer NOT NULL,
2544 created timestamp with time zone NOT NULL,
2545 updated timestamp with time zone NOT NULL,
2546 enacted timestamp with time zone,
2547 policed timestamp with time zone,
2548 backend_register character varying(140),
2549 backend_status character varying(1024) NOT NULL,
2550 deleted boolean NOT NULL,
2551 write_protect boolean NOT NULL,
2552 lazy_blocked boolean NOT NULL,
2553 no_sync boolean NOT NULL,
2554 name character varying(80) NOT NULL,
2555 enabled boolean NOT NULL,
2556 omf_friendly boolean NOT NULL,
2557 description text NOT NULL,
2558 slice_url character varying(512) NOT NULL,
2559 max_instances integer NOT NULL,
2560 network character varying(256),
2561 mount_data_sets character varying(256),
2562 creator_id integer,
2563 default_flavor_id integer,
2564 default_image_id integer,
2565 service_id integer,
2566 "serviceClass_id" integer,
2567 site_id integer NOT NULL
2568);
2569
2570
2571ALTER TABLE public.core_slice OWNER TO postgres;
2572
2573--
2574-- Name: core_slice_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2575--
2576
2577CREATE SEQUENCE core_slice_id_seq
2578 START WITH 1
2579 INCREMENT BY 1
2580 NO MINVALUE
2581 NO MAXVALUE
2582 CACHE 1;
2583
2584
2585ALTER TABLE public.core_slice_id_seq OWNER TO postgres;
2586
2587--
2588-- Name: core_slice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2589--
2590
2591ALTER SEQUENCE core_slice_id_seq OWNED BY core_slice.id;
2592
2593
2594--
2595-- Name: core_slicecredential; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2596--
2597
2598CREATE TABLE core_slicecredential (
2599 id integer NOT NULL,
2600 created timestamp with time zone NOT NULL,
2601 updated timestamp with time zone NOT NULL,
2602 enacted timestamp with time zone,
2603 policed timestamp with time zone,
2604 backend_register character varying(140),
2605 backend_status character varying(1024) NOT NULL,
2606 deleted boolean NOT NULL,
2607 write_protect boolean NOT NULL,
2608 lazy_blocked boolean NOT NULL,
2609 no_sync boolean NOT NULL,
2610 name character varying(128) NOT NULL,
2611 key_id character varying(1024) NOT NULL,
2612 enc_value text NOT NULL,
2613 slice_id integer NOT NULL
2614);
2615
2616
2617ALTER TABLE public.core_slicecredential OWNER TO postgres;
2618
2619--
2620-- Name: core_slicecredential_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2621--
2622
2623CREATE SEQUENCE core_slicecredential_id_seq
2624 START WITH 1
2625 INCREMENT BY 1
2626 NO MINVALUE
2627 NO MAXVALUE
2628 CACHE 1;
2629
2630
2631ALTER TABLE public.core_slicecredential_id_seq OWNER TO postgres;
2632
2633--
2634-- Name: core_slicecredential_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2635--
2636
2637ALTER SEQUENCE core_slicecredential_id_seq OWNED BY core_slicecredential.id;
2638
2639
2640--
2641-- Name: core_sliceprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2642--
2643
2644CREATE TABLE core_sliceprivilege (
2645 id integer NOT NULL,
2646 created timestamp with time zone NOT NULL,
2647 updated timestamp with time zone NOT NULL,
2648 enacted timestamp with time zone,
2649 policed timestamp with time zone,
2650 backend_register character varying(140),
2651 backend_status character varying(1024) NOT NULL,
2652 deleted boolean NOT NULL,
2653 write_protect boolean NOT NULL,
2654 lazy_blocked boolean NOT NULL,
2655 no_sync boolean NOT NULL,
2656 role_id integer NOT NULL,
2657 slice_id integer NOT NULL,
2658 user_id integer NOT NULL
2659);
2660
2661
2662ALTER TABLE public.core_sliceprivilege OWNER TO postgres;
2663
2664--
2665-- Name: core_sliceprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2666--
2667
2668CREATE SEQUENCE core_sliceprivilege_id_seq
2669 START WITH 1
2670 INCREMENT BY 1
2671 NO MINVALUE
2672 NO MAXVALUE
2673 CACHE 1;
2674
2675
2676ALTER TABLE public.core_sliceprivilege_id_seq OWNER TO postgres;
2677
2678--
2679-- Name: core_sliceprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2680--
2681
2682ALTER SEQUENCE core_sliceprivilege_id_seq OWNED BY core_sliceprivilege.id;
2683
2684
2685--
2686-- Name: core_slicerole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2687--
2688
2689CREATE TABLE core_slicerole (
2690 id integer NOT NULL,
2691 created timestamp with time zone NOT NULL,
2692 updated timestamp with time zone NOT NULL,
2693 enacted timestamp with time zone,
2694 policed timestamp with time zone,
2695 backend_register character varying(140),
2696 backend_status character varying(1024) NOT NULL,
2697 deleted boolean NOT NULL,
2698 write_protect boolean NOT NULL,
2699 lazy_blocked boolean NOT NULL,
2700 no_sync boolean NOT NULL,
2701 role character varying(30) NOT NULL
2702);
2703
2704
2705ALTER TABLE public.core_slicerole OWNER TO postgres;
2706
2707--
2708-- Name: core_slicerole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2709--
2710
2711CREATE SEQUENCE core_slicerole_id_seq
2712 START WITH 1
2713 INCREMENT BY 1
2714 NO MINVALUE
2715 NO MAXVALUE
2716 CACHE 1;
2717
2718
2719ALTER TABLE public.core_slicerole_id_seq OWNER TO postgres;
2720
2721--
2722-- Name: core_slicerole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2723--
2724
2725ALTER SEQUENCE core_slicerole_id_seq OWNED BY core_slicerole.id;
2726
2727
2728--
2729-- Name: core_slicetag; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2730--
2731
2732CREATE TABLE core_slicetag (
2733 id integer NOT NULL,
2734 created timestamp with time zone NOT NULL,
2735 updated timestamp with time zone NOT NULL,
2736 enacted timestamp with time zone,
2737 policed timestamp with time zone,
2738 backend_register character varying(140),
2739 backend_status character varying(1024) NOT NULL,
2740 deleted boolean NOT NULL,
2741 write_protect boolean NOT NULL,
2742 lazy_blocked boolean NOT NULL,
2743 no_sync boolean NOT NULL,
2744 name character varying(30) NOT NULL,
2745 value character varying(1024) NOT NULL,
2746 slice_id integer NOT NULL
2747);
2748
2749
2750ALTER TABLE public.core_slicetag OWNER TO postgres;
2751
2752--
2753-- Name: core_slicetag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2754--
2755
2756CREATE SEQUENCE core_slicetag_id_seq
2757 START WITH 1
2758 INCREMENT BY 1
2759 NO MINVALUE
2760 NO MAXVALUE
2761 CACHE 1;
2762
2763
2764ALTER TABLE public.core_slicetag_id_seq OWNER TO postgres;
2765
2766--
2767-- Name: core_slicetag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2768--
2769
2770ALTER SEQUENCE core_slicetag_id_seq OWNED BY core_slicetag.id;
2771
2772
2773--
2774-- Name: core_tag; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2775--
2776
2777CREATE TABLE core_tag (
2778 id integer NOT NULL,
2779 created timestamp with time zone NOT NULL,
2780 updated timestamp with time zone NOT NULL,
2781 enacted timestamp with time zone,
2782 policed timestamp with time zone,
2783 backend_register character varying(140),
2784 backend_status character varying(1024) NOT NULL,
2785 deleted boolean NOT NULL,
2786 write_protect boolean NOT NULL,
2787 lazy_blocked boolean NOT NULL,
2788 no_sync boolean NOT NULL,
2789 name character varying(128) NOT NULL,
2790 value character varying(1024) NOT NULL,
2791 object_id integer NOT NULL,
2792 content_type_id integer NOT NULL,
2793 service_id integer NOT NULL,
2794 CONSTRAINT core_tag_object_id_check CHECK ((object_id >= 0))
2795);
2796
2797
2798ALTER TABLE public.core_tag OWNER TO postgres;
2799
2800--
2801-- Name: core_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2802--
2803
2804CREATE SEQUENCE core_tag_id_seq
2805 START WITH 1
2806 INCREMENT BY 1
2807 NO MINVALUE
2808 NO MAXVALUE
2809 CACHE 1;
2810
2811
2812ALTER TABLE public.core_tag_id_seq OWNER TO postgres;
2813
2814--
2815-- Name: core_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2816--
2817
2818ALTER SEQUENCE core_tag_id_seq OWNED BY core_tag.id;
2819
2820
2821--
2822-- Name: core_tenant; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2823--
2824
2825CREATE TABLE core_tenant (
2826 id integer NOT NULL,
2827 created timestamp with time zone NOT NULL,
2828 updated timestamp with time zone NOT NULL,
2829 enacted timestamp with time zone,
2830 policed timestamp with time zone,
2831 backend_register character varying(140),
2832 backend_status character varying(1024) NOT NULL,
2833 deleted boolean NOT NULL,
2834 write_protect boolean NOT NULL,
2835 lazy_blocked boolean NOT NULL,
2836 no_sync boolean NOT NULL,
2837 kind character varying(30) NOT NULL,
2838 service_specific_id character varying(30),
2839 service_specific_attribute text,
2840 connect_method character varying(30) NOT NULL,
2841 provider_service_id integer NOT NULL,
2842 subscriber_root_id integer,
2843 subscriber_service_id integer,
2844 subscriber_tenant_id integer,
2845 subscriber_user_id integer
2846);
2847
2848
2849ALTER TABLE public.core_tenant OWNER TO postgres;
2850
2851--
2852-- Name: core_tenant_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2853--
2854
2855CREATE SEQUENCE core_tenant_id_seq
2856 START WITH 1
2857 INCREMENT BY 1
2858 NO MINVALUE
2859 NO MAXVALUE
2860 CACHE 1;
2861
2862
2863ALTER TABLE public.core_tenant_id_seq OWNER TO postgres;
2864
2865--
2866-- Name: core_tenant_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2867--
2868
2869ALTER SEQUENCE core_tenant_id_seq OWNED BY core_tenant.id;
2870
2871
2872--
2873-- Name: core_tenantroot; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2874--
2875
2876CREATE TABLE core_tenantroot (
2877 id integer NOT NULL,
2878 created timestamp with time zone NOT NULL,
2879 updated timestamp with time zone NOT NULL,
2880 enacted timestamp with time zone,
2881 policed timestamp with time zone,
2882 backend_register character varying(140),
2883 backend_status character varying(1024) NOT NULL,
2884 deleted boolean NOT NULL,
2885 write_protect boolean NOT NULL,
2886 lazy_blocked boolean NOT NULL,
2887 no_sync boolean NOT NULL,
2888 kind character varying(30) NOT NULL,
2889 name character varying(255),
2890 service_specific_attribute text,
2891 service_specific_id character varying(30)
2892);
2893
2894
2895ALTER TABLE public.core_tenantroot OWNER TO postgres;
2896
2897--
2898-- Name: core_tenantroot_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2899--
2900
2901CREATE SEQUENCE core_tenantroot_id_seq
2902 START WITH 1
2903 INCREMENT BY 1
2904 NO MINVALUE
2905 NO MAXVALUE
2906 CACHE 1;
2907
2908
2909ALTER TABLE public.core_tenantroot_id_seq OWNER TO postgres;
2910
2911--
2912-- Name: core_tenantroot_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2913--
2914
2915ALTER SEQUENCE core_tenantroot_id_seq OWNED BY core_tenantroot.id;
2916
2917
2918--
2919-- Name: core_tenantrootprivilege; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2920--
2921
2922CREATE TABLE core_tenantrootprivilege (
2923 id integer NOT NULL,
2924 created timestamp with time zone NOT NULL,
2925 updated timestamp with time zone NOT NULL,
2926 enacted timestamp with time zone,
2927 policed timestamp with time zone,
2928 backend_register character varying(140),
2929 backend_status character varying(1024) NOT NULL,
2930 deleted boolean NOT NULL,
2931 write_protect boolean NOT NULL,
2932 lazy_blocked boolean NOT NULL,
2933 no_sync boolean NOT NULL,
2934 role_id integer NOT NULL,
2935 tenant_root_id integer NOT NULL,
2936 user_id integer NOT NULL
2937);
2938
2939
2940ALTER TABLE public.core_tenantrootprivilege OWNER TO postgres;
2941
2942--
2943-- Name: core_tenantrootprivilege_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2944--
2945
2946CREATE SEQUENCE core_tenantrootprivilege_id_seq
2947 START WITH 1
2948 INCREMENT BY 1
2949 NO MINVALUE
2950 NO MAXVALUE
2951 CACHE 1;
2952
2953
2954ALTER TABLE public.core_tenantrootprivilege_id_seq OWNER TO postgres;
2955
2956--
2957-- Name: core_tenantrootprivilege_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
2958--
2959
2960ALTER SEQUENCE core_tenantrootprivilege_id_seq OWNED BY core_tenantrootprivilege.id;
2961
2962
2963--
2964-- Name: core_tenantrootrole; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
2965--
2966
2967CREATE TABLE core_tenantrootrole (
2968 id integer NOT NULL,
2969 created timestamp with time zone NOT NULL,
2970 updated timestamp with time zone NOT NULL,
2971 enacted timestamp with time zone,
2972 policed timestamp with time zone,
2973 backend_register character varying(140),
2974 backend_status character varying(1024) NOT NULL,
2975 deleted boolean NOT NULL,
2976 write_protect boolean NOT NULL,
2977 lazy_blocked boolean NOT NULL,
2978 no_sync boolean NOT NULL,
2979 role character varying(30) NOT NULL
2980);
2981
2982
2983ALTER TABLE public.core_tenantrootrole OWNER TO postgres;
2984
2985--
2986-- Name: core_tenantrootrole_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
2987--
2988
2989CREATE SEQUENCE core_tenantrootrole_id_seq
2990 START WITH 1
2991 INCREMENT BY 1
2992 NO MINVALUE
2993 NO MAXVALUE
2994 CACHE 1;
2995
2996
2997ALTER TABLE public.core_tenantrootrole_id_seq OWNER TO postgres;
2998
2999--
3000-- Name: core_tenantrootrole_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3001--
3002
3003ALTER SEQUENCE core_tenantrootrole_id_seq OWNED BY core_tenantrootrole.id;
3004
3005
3006--
3007-- Name: core_usableobject; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3008--
3009
3010CREATE TABLE core_usableobject (
3011 id integer NOT NULL,
3012 created timestamp with time zone NOT NULL,
3013 updated timestamp with time zone NOT NULL,
3014 enacted timestamp with time zone,
3015 policed timestamp with time zone,
3016 backend_register character varying(140),
3017 backend_status character varying(1024) NOT NULL,
3018 deleted boolean NOT NULL,
3019 write_protect boolean NOT NULL,
3020 lazy_blocked boolean NOT NULL,
3021 no_sync boolean NOT NULL,
3022 name character varying(1024) NOT NULL
3023);
3024
3025
3026ALTER TABLE public.core_usableobject OWNER TO postgres;
3027
3028--
3029-- Name: core_usableobject_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3030--
3031
3032CREATE SEQUENCE core_usableobject_id_seq
3033 START WITH 1
3034 INCREMENT BY 1
3035 NO MINVALUE
3036 NO MAXVALUE
3037 CACHE 1;
3038
3039
3040ALTER TABLE public.core_usableobject_id_seq OWNER TO postgres;
3041
3042--
3043-- Name: core_usableobject_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3044--
3045
3046ALTER SEQUENCE core_usableobject_id_seq OWNED BY core_usableobject.id;
3047
3048
3049--
3050-- Name: core_user; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3051--
3052
3053CREATE TABLE core_user (
3054 id integer NOT NULL,
3055 password character varying(128) NOT NULL,
3056 last_login timestamp with time zone NOT NULL,
3057 email character varying(255) NOT NULL,
3058 username character varying(255) NOT NULL,
3059 firstname character varying(200) NOT NULL,
3060 lastname character varying(200) NOT NULL,
3061 phone character varying(100),
3062 user_url character varying(200),
3063 public_key text,
3064 is_active boolean NOT NULL,
3065 is_admin boolean NOT NULL,
3066 is_staff boolean NOT NULL,
3067 is_readonly boolean NOT NULL,
3068 is_registering boolean NOT NULL,
3069 is_appuser boolean NOT NULL,
3070 login_page character varying(200),
3071 created timestamp with time zone NOT NULL,
3072 updated timestamp with time zone NOT NULL,
3073 enacted timestamp with time zone,
3074 policed timestamp with time zone,
3075 backend_status character varying(1024) NOT NULL,
3076 deleted boolean NOT NULL,
3077 write_protect boolean NOT NULL,
3078 timezone character varying(100) NOT NULL,
3079 site_id integer NOT NULL
3080);
3081
3082
3083ALTER TABLE public.core_user OWNER TO postgres;
3084
3085--
3086-- Name: core_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3087--
3088
3089CREATE SEQUENCE core_user_id_seq
3090 START WITH 1
3091 INCREMENT BY 1
3092 NO MINVALUE
3093 NO MAXVALUE
3094 CACHE 1;
3095
3096
3097ALTER TABLE public.core_user_id_seq OWNER TO postgres;
3098
3099--
3100-- Name: core_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3101--
3102
3103ALTER SEQUENCE core_user_id_seq OWNED BY core_user.id;
3104
3105
3106--
3107-- Name: core_usercredential; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3108--
3109
3110CREATE TABLE core_usercredential (
3111 id integer NOT NULL,
3112 created timestamp with time zone NOT NULL,
3113 updated timestamp with time zone NOT NULL,
3114 enacted timestamp with time zone,
3115 policed timestamp with time zone,
3116 backend_register character varying(140),
3117 backend_status character varying(1024) NOT NULL,
3118 deleted boolean NOT NULL,
3119 write_protect boolean NOT NULL,
3120 lazy_blocked boolean NOT NULL,
3121 no_sync boolean NOT NULL,
3122 name character varying(128) NOT NULL,
3123 key_id character varying(1024) NOT NULL,
3124 enc_value text NOT NULL,
3125 user_id integer NOT NULL
3126);
3127
3128
3129ALTER TABLE public.core_usercredential OWNER TO postgres;
3130
3131--
3132-- Name: core_usercredential_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3133--
3134
3135CREATE SEQUENCE core_usercredential_id_seq
3136 START WITH 1
3137 INCREMENT BY 1
3138 NO MINVALUE
3139 NO MAXVALUE
3140 CACHE 1;
3141
3142
3143ALTER TABLE public.core_usercredential_id_seq OWNER TO postgres;
3144
3145--
3146-- Name: core_usercredential_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3147--
3148
3149ALTER SEQUENCE core_usercredential_id_seq OWNED BY core_usercredential.id;
3150
3151
3152--
3153-- Name: core_userdashboardview; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3154--
3155
3156CREATE TABLE core_userdashboardview (
3157 id integer NOT NULL,
3158 created timestamp with time zone NOT NULL,
3159 updated timestamp with time zone NOT NULL,
3160 enacted timestamp with time zone,
3161 policed timestamp with time zone,
3162 backend_register character varying(140),
3163 backend_status character varying(1024) NOT NULL,
3164 deleted boolean NOT NULL,
3165 write_protect boolean NOT NULL,
3166 lazy_blocked boolean NOT NULL,
3167 no_sync boolean NOT NULL,
3168 "order" integer NOT NULL,
3169 "dashboardView_id" integer NOT NULL,
3170 user_id integer NOT NULL
3171);
3172
3173
3174ALTER TABLE public.core_userdashboardview OWNER TO postgres;
3175
3176--
3177-- Name: core_userdashboardview_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3178--
3179
3180CREATE SEQUENCE core_userdashboardview_id_seq
3181 START WITH 1
3182 INCREMENT BY 1
3183 NO MINVALUE
3184 NO MAXVALUE
3185 CACHE 1;
3186
3187
3188ALTER TABLE public.core_userdashboardview_id_seq OWNER TO postgres;
3189
3190--
3191-- Name: core_userdashboardview_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3192--
3193
3194ALTER SEQUENCE core_userdashboardview_id_seq OWNED BY core_userdashboardview.id;
3195
3196
3197--
3198-- Name: django_admin_log; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3199--
3200
3201CREATE TABLE django_admin_log (
3202 id integer NOT NULL,
3203 action_time timestamp with time zone NOT NULL,
3204 object_id text,
3205 object_repr character varying(200) NOT NULL,
3206 action_flag smallint NOT NULL,
3207 change_message text NOT NULL,
3208 content_type_id integer,
3209 user_id integer NOT NULL,
3210 CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
3211);
3212
3213
3214ALTER TABLE public.django_admin_log OWNER TO postgres;
3215
3216--
3217-- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3218--
3219
3220CREATE SEQUENCE django_admin_log_id_seq
3221 START WITH 1
3222 INCREMENT BY 1
3223 NO MINVALUE
3224 NO MAXVALUE
3225 CACHE 1;
3226
3227
3228ALTER TABLE public.django_admin_log_id_seq OWNER TO postgres;
3229
3230--
3231-- Name: django_admin_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3232--
3233
3234ALTER SEQUENCE django_admin_log_id_seq OWNED BY django_admin_log.id;
3235
3236
3237--
3238-- Name: django_content_type; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3239--
3240
3241CREATE TABLE django_content_type (
3242 id integer NOT NULL,
3243 name character varying(100) NOT NULL,
3244 app_label character varying(100) NOT NULL,
3245 model character varying(100) NOT NULL
3246);
3247
3248
3249ALTER TABLE public.django_content_type OWNER TO postgres;
3250
3251--
3252-- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3253--
3254
3255CREATE SEQUENCE django_content_type_id_seq
3256 START WITH 1
3257 INCREMENT BY 1
3258 NO MINVALUE
3259 NO MAXVALUE
3260 CACHE 1;
3261
3262
3263ALTER TABLE public.django_content_type_id_seq OWNER TO postgres;
3264
3265--
3266-- Name: django_content_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3267--
3268
3269ALTER SEQUENCE django_content_type_id_seq OWNED BY django_content_type.id;
3270
3271
3272--
3273-- Name: django_migrations; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3274--
3275
3276CREATE TABLE django_migrations (
3277 id integer NOT NULL,
3278 app character varying(255) NOT NULL,
3279 name character varying(255) NOT NULL,
3280 applied timestamp with time zone NOT NULL
3281);
3282
3283
3284ALTER TABLE public.django_migrations OWNER TO postgres;
3285
3286--
3287-- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3288--
3289
3290CREATE SEQUENCE django_migrations_id_seq
3291 START WITH 1
3292 INCREMENT BY 1
3293 NO MINVALUE
3294 NO MAXVALUE
3295 CACHE 1;
3296
3297
3298ALTER TABLE public.django_migrations_id_seq OWNER TO postgres;
3299
3300--
3301-- Name: django_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3302--
3303
3304ALTER SEQUENCE django_migrations_id_seq OWNED BY django_migrations.id;
3305
3306
3307--
3308-- Name: django_session; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3309--
3310
3311CREATE TABLE django_session (
3312 session_key character varying(40) NOT NULL,
3313 session_data text NOT NULL,
3314 expire_date timestamp with time zone NOT NULL
3315);
3316
3317
3318ALTER TABLE public.django_session OWNER TO postgres;
3319
3320--
3321-- Name: hpc_accessmap; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3322--
3323
3324CREATE TABLE hpc_accessmap (
3325 id integer NOT NULL,
3326 created timestamp with time zone NOT NULL,
3327 updated timestamp with time zone NOT NULL,
3328 enacted timestamp with time zone,
3329 policed timestamp with time zone,
3330 backend_register character varying(140),
3331 backend_status character varying(1024) NOT NULL,
3332 deleted boolean NOT NULL,
3333 write_protect boolean NOT NULL,
3334 lazy_blocked boolean NOT NULL,
3335 no_sync boolean NOT NULL,
3336 name character varying(64) NOT NULL,
3337 description text,
3338 map character varying(100) NOT NULL,
3339 "contentProvider_id" integer NOT NULL
3340);
3341
3342
3343ALTER TABLE public.hpc_accessmap OWNER TO postgres;
3344
3345--
3346-- Name: hpc_accessmap_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3347--
3348
3349CREATE SEQUENCE hpc_accessmap_id_seq
3350 START WITH 1
3351 INCREMENT BY 1
3352 NO MINVALUE
3353 NO MAXVALUE
3354 CACHE 1;
3355
3356
3357ALTER TABLE public.hpc_accessmap_id_seq OWNER TO postgres;
3358
3359--
3360-- Name: hpc_accessmap_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3361--
3362
3363ALTER SEQUENCE hpc_accessmap_id_seq OWNED BY hpc_accessmap.id;
3364
3365
3366--
3367-- Name: hpc_cdnprefix; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3368--
3369
3370CREATE TABLE hpc_cdnprefix (
3371 id integer NOT NULL,
3372 created timestamp with time zone NOT NULL,
3373 updated timestamp with time zone NOT NULL,
3374 enacted timestamp with time zone,
3375 policed timestamp with time zone,
3376 backend_register character varying(140),
3377 backend_status character varying(1024) NOT NULL,
3378 deleted boolean NOT NULL,
3379 write_protect boolean NOT NULL,
3380 lazy_blocked boolean NOT NULL,
3381 no_sync boolean NOT NULL,
3382 cdn_prefix_id integer,
3383 prefix character varying(200) NOT NULL,
3384 description text,
3385 enabled boolean NOT NULL,
3386 "contentProvider_id" integer NOT NULL,
3387 "defaultOriginServer_id" integer
3388);
3389
3390
3391ALTER TABLE public.hpc_cdnprefix OWNER TO postgres;
3392
3393--
3394-- Name: hpc_cdnprefix_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3395--
3396
3397CREATE SEQUENCE hpc_cdnprefix_id_seq
3398 START WITH 1
3399 INCREMENT BY 1
3400 NO MINVALUE
3401 NO MAXVALUE
3402 CACHE 1;
3403
3404
3405ALTER TABLE public.hpc_cdnprefix_id_seq OWNER TO postgres;
3406
3407--
3408-- Name: hpc_cdnprefix_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3409--
3410
3411ALTER SEQUENCE hpc_cdnprefix_id_seq OWNED BY hpc_cdnprefix.id;
3412
3413
3414--
3415-- Name: hpc_contentprovider; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3416--
3417
3418CREATE TABLE hpc_contentprovider (
3419 id integer NOT NULL,
3420 created timestamp with time zone NOT NULL,
3421 updated timestamp with time zone NOT NULL,
3422 enacted timestamp with time zone,
3423 policed timestamp with time zone,
3424 backend_register character varying(140),
3425 backend_status character varying(1024) NOT NULL,
3426 deleted boolean NOT NULL,
3427 write_protect boolean NOT NULL,
3428 lazy_blocked boolean NOT NULL,
3429 no_sync boolean NOT NULL,
3430 content_provider_id integer,
3431 name character varying(254) NOT NULL,
3432 enabled boolean NOT NULL,
3433 description text,
3434 "serviceProvider_id" integer NOT NULL
3435);
3436
3437
3438ALTER TABLE public.hpc_contentprovider OWNER TO postgres;
3439
3440--
3441-- Name: hpc_contentprovider_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3442--
3443
3444CREATE SEQUENCE hpc_contentprovider_id_seq
3445 START WITH 1
3446 INCREMENT BY 1
3447 NO MINVALUE
3448 NO MAXVALUE
3449 CACHE 1;
3450
3451
3452ALTER TABLE public.hpc_contentprovider_id_seq OWNER TO postgres;
3453
3454--
3455-- Name: hpc_contentprovider_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3456--
3457
3458ALTER SEQUENCE hpc_contentprovider_id_seq OWNED BY hpc_contentprovider.id;
3459
3460
3461--
3462-- Name: hpc_contentprovider_users; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3463--
3464
3465CREATE TABLE hpc_contentprovider_users (
3466 id integer NOT NULL,
3467 contentprovider_id integer NOT NULL,
3468 user_id integer NOT NULL
3469);
3470
3471
3472ALTER TABLE public.hpc_contentprovider_users OWNER TO postgres;
3473
3474--
3475-- Name: hpc_contentprovider_users_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3476--
3477
3478CREATE SEQUENCE hpc_contentprovider_users_id_seq
3479 START WITH 1
3480 INCREMENT BY 1
3481 NO MINVALUE
3482 NO MAXVALUE
3483 CACHE 1;
3484
3485
3486ALTER TABLE public.hpc_contentprovider_users_id_seq OWNER TO postgres;
3487
3488--
3489-- Name: hpc_contentprovider_users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3490--
3491
3492ALTER SEQUENCE hpc_contentprovider_users_id_seq OWNED BY hpc_contentprovider_users.id;
3493
3494
3495--
3496-- Name: hpc_hpchealthcheck; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3497--
3498
3499CREATE TABLE hpc_hpchealthcheck (
3500 id integer NOT NULL,
3501 created timestamp with time zone NOT NULL,
3502 updated timestamp with time zone NOT NULL,
3503 enacted timestamp with time zone,
3504 policed timestamp with time zone,
3505 backend_register character varying(140),
3506 backend_status character varying(1024) NOT NULL,
3507 deleted boolean NOT NULL,
3508 write_protect boolean NOT NULL,
3509 lazy_blocked boolean NOT NULL,
3510 no_sync boolean NOT NULL,
3511 kind character varying(30) NOT NULL,
3512 resource_name character varying(1024) NOT NULL,
3513 result_contains character varying(1024),
3514 result_min_size integer,
3515 result_max_size integer,
3516 "hpcService_id" integer
3517);
3518
3519
3520ALTER TABLE public.hpc_hpchealthcheck OWNER TO postgres;
3521
3522--
3523-- Name: hpc_hpchealthcheck_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3524--
3525
3526CREATE SEQUENCE hpc_hpchealthcheck_id_seq
3527 START WITH 1
3528 INCREMENT BY 1
3529 NO MINVALUE
3530 NO MAXVALUE
3531 CACHE 1;
3532
3533
3534ALTER TABLE public.hpc_hpchealthcheck_id_seq OWNER TO postgres;
3535
3536--
3537-- Name: hpc_hpchealthcheck_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3538--
3539
3540ALTER SEQUENCE hpc_hpchealthcheck_id_seq OWNED BY hpc_hpchealthcheck.id;
3541
3542
3543--
3544-- Name: hpc_hpcservice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3545--
3546
3547CREATE TABLE hpc_hpcservice (
3548 service_ptr_id integer NOT NULL,
3549 cmi_hostname character varying(254),
3550 hpc_port80 boolean NOT NULL,
3551 watcher_hpc_network character varying(254),
3552 watcher_dnsdemux_network character varying(254),
3553 watcher_dnsredir_network character varying(254)
3554);
3555
3556
3557ALTER TABLE public.hpc_hpcservice OWNER TO postgres;
3558
3559--
3560-- Name: hpc_originserver; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3561--
3562
3563CREATE TABLE hpc_originserver (
3564 id integer NOT NULL,
3565 created timestamp with time zone NOT NULL,
3566 updated timestamp with time zone NOT NULL,
3567 enacted timestamp with time zone,
3568 policed timestamp with time zone,
3569 backend_register character varying(140),
3570 backend_status character varying(1024) NOT NULL,
3571 deleted boolean NOT NULL,
3572 write_protect boolean NOT NULL,
3573 lazy_blocked boolean NOT NULL,
3574 no_sync boolean NOT NULL,
3575 origin_server_id integer,
3576 url character varying(1024) NOT NULL,
3577 authenticated boolean NOT NULL,
3578 enabled boolean NOT NULL,
3579 protocol character varying(12) NOT NULL,
3580 redirects boolean NOT NULL,
3581 description text,
3582 "contentProvider_id" integer NOT NULL
3583);
3584
3585
3586ALTER TABLE public.hpc_originserver OWNER TO postgres;
3587
3588--
3589-- Name: hpc_originserver_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3590--
3591
3592CREATE SEQUENCE hpc_originserver_id_seq
3593 START WITH 1
3594 INCREMENT BY 1
3595 NO MINVALUE
3596 NO MAXVALUE
3597 CACHE 1;
3598
3599
3600ALTER TABLE public.hpc_originserver_id_seq OWNER TO postgres;
3601
3602--
3603-- Name: hpc_originserver_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3604--
3605
3606ALTER SEQUENCE hpc_originserver_id_seq OWNED BY hpc_originserver.id;
3607
3608
3609--
3610-- Name: hpc_serviceprovider; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3611--
3612
3613CREATE TABLE hpc_serviceprovider (
3614 id integer NOT NULL,
3615 created timestamp with time zone NOT NULL,
3616 updated timestamp with time zone NOT NULL,
3617 enacted timestamp with time zone,
3618 policed timestamp with time zone,
3619 backend_register character varying(140),
3620 backend_status character varying(1024) NOT NULL,
3621 deleted boolean NOT NULL,
3622 write_protect boolean NOT NULL,
3623 lazy_blocked boolean NOT NULL,
3624 no_sync boolean NOT NULL,
3625 service_provider_id integer,
3626 name character varying(254) NOT NULL,
3627 description text,
3628 enabled boolean NOT NULL,
3629 "hpcService_id" integer NOT NULL
3630);
3631
3632
3633ALTER TABLE public.hpc_serviceprovider OWNER TO postgres;
3634
3635--
3636-- Name: hpc_serviceprovider_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3637--
3638
3639CREATE SEQUENCE hpc_serviceprovider_id_seq
3640 START WITH 1
3641 INCREMENT BY 1
3642 NO MINVALUE
3643 NO MAXVALUE
3644 CACHE 1;
3645
3646
3647ALTER TABLE public.hpc_serviceprovider_id_seq OWNER TO postgres;
3648
3649--
3650-- Name: hpc_serviceprovider_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3651--
3652
3653ALTER SEQUENCE hpc_serviceprovider_id_seq OWNED BY hpc_serviceprovider.id;
3654
3655
3656--
3657-- Name: hpc_sitemap; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3658--
3659
3660CREATE TABLE hpc_sitemap (
3661 id integer NOT NULL,
3662 created timestamp with time zone NOT NULL,
3663 updated timestamp with time zone NOT NULL,
3664 enacted timestamp with time zone,
3665 policed timestamp with time zone,
3666 backend_register character varying(140),
3667 backend_status character varying(1024) NOT NULL,
3668 deleted boolean NOT NULL,
3669 write_protect boolean NOT NULL,
3670 lazy_blocked boolean NOT NULL,
3671 no_sync boolean NOT NULL,
3672 name character varying(64) NOT NULL,
3673 description text,
3674 map character varying(100) NOT NULL,
3675 map_id integer,
3676 "cdnPrefix_id" integer,
3677 "contentProvider_id" integer,
3678 "hpcService_id" integer,
3679 "serviceProvider_id" integer
3680);
3681
3682
3683ALTER TABLE public.hpc_sitemap OWNER TO postgres;
3684
3685--
3686-- Name: hpc_sitemap_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3687--
3688
3689CREATE SEQUENCE hpc_sitemap_id_seq
3690 START WITH 1
3691 INCREMENT BY 1
3692 NO MINVALUE
3693 NO MAXVALUE
3694 CACHE 1;
3695
3696
3697ALTER TABLE public.hpc_sitemap_id_seq OWNER TO postgres;
3698
3699--
3700-- Name: hpc_sitemap_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3701--
3702
3703ALTER SEQUENCE hpc_sitemap_id_seq OWNED BY hpc_sitemap.id;
3704
3705
3706--
3707-- Name: requestrouter_requestrouterservice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3708--
3709
3710CREATE TABLE requestrouter_requestrouterservice (
3711 service_ptr_id integer NOT NULL,
3712 "behindNat" boolean NOT NULL,
3713 "defaultTTL" integer NOT NULL,
3714 "defaultAction" character varying(30) NOT NULL,
3715 "lastResortAction" character varying(30) NOT NULL,
3716 "maxAnswers" integer NOT NULL,
3717 CONSTRAINT "requestrouter_requestrouterservice_defaultTTL_check" CHECK (("defaultTTL" >= 0)),
3718 CONSTRAINT "requestrouter_requestrouterservice_maxAnswers_check" CHECK (("maxAnswers" >= 0))
3719);
3720
3721
3722ALTER TABLE public.requestrouter_requestrouterservice OWNER TO postgres;
3723
3724--
3725-- Name: requestrouter_servicemap; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3726--
3727
3728CREATE TABLE requestrouter_servicemap (
3729 id integer NOT NULL,
3730 created timestamp with time zone NOT NULL,
3731 updated timestamp with time zone NOT NULL,
3732 enacted timestamp with time zone,
3733 policed timestamp with time zone,
3734 backend_register character varying(140),
3735 backend_status character varying(1024) NOT NULL,
3736 deleted boolean NOT NULL,
3737 write_protect boolean NOT NULL,
3738 lazy_blocked boolean NOT NULL,
3739 no_sync boolean NOT NULL,
3740 name character varying(50) NOT NULL,
3741 prefix character varying(256) NOT NULL,
3742 "siteMap" character varying(100) NOT NULL,
3743 "accessMap" character varying(100) NOT NULL,
3744 owner_id integer NOT NULL,
3745 slice_id integer NOT NULL
3746);
3747
3748
3749ALTER TABLE public.requestrouter_servicemap OWNER TO postgres;
3750
3751--
3752-- Name: requestrouter_servicemap_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3753--
3754
3755CREATE SEQUENCE requestrouter_servicemap_id_seq
3756 START WITH 1
3757 INCREMENT BY 1
3758 NO MINVALUE
3759 NO MAXVALUE
3760 CACHE 1;
3761
3762
3763ALTER TABLE public.requestrouter_servicemap_id_seq OWNER TO postgres;
3764
3765--
3766-- Name: requestrouter_servicemap_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3767--
3768
3769ALTER SEQUENCE requestrouter_servicemap_id_seq OWNED BY requestrouter_servicemap.id;
3770
3771
3772--
3773-- Name: syndicate_storage_slicesecret; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3774--
3775
3776CREATE TABLE syndicate_storage_slicesecret (
3777 id integer NOT NULL,
3778 secret text NOT NULL,
3779 slice_id_id integer NOT NULL
3780);
3781
3782
3783ALTER TABLE public.syndicate_storage_slicesecret OWNER TO postgres;
3784
3785--
3786-- Name: syndicate_storage_slicesecret_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3787--
3788
3789CREATE SEQUENCE syndicate_storage_slicesecret_id_seq
3790 START WITH 1
3791 INCREMENT BY 1
3792 NO MINVALUE
3793 NO MAXVALUE
3794 CACHE 1;
3795
3796
3797ALTER TABLE public.syndicate_storage_slicesecret_id_seq OWNER TO postgres;
3798
3799--
3800-- Name: syndicate_storage_slicesecret_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3801--
3802
3803ALTER SEQUENCE syndicate_storage_slicesecret_id_seq OWNED BY syndicate_storage_slicesecret.id;
3804
3805
3806--
3807-- Name: syndicate_storage_syndicateprincipal; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3808--
3809
3810CREATE TABLE syndicate_storage_syndicateprincipal (
3811 id integer NOT NULL,
3812 created timestamp with time zone NOT NULL,
3813 updated timestamp with time zone NOT NULL,
3814 enacted timestamp with time zone,
3815 policed timestamp with time zone,
3816 backend_register character varying(140),
3817 backend_status character varying(1024) NOT NULL,
3818 deleted boolean NOT NULL,
3819 write_protect boolean NOT NULL,
3820 lazy_blocked boolean NOT NULL,
3821 no_sync boolean NOT NULL,
3822 principal_id text NOT NULL,
3823 public_key_pem text NOT NULL,
3824 sealed_private_key text NOT NULL
3825);
3826
3827
3828ALTER TABLE public.syndicate_storage_syndicateprincipal OWNER TO postgres;
3829
3830--
3831-- Name: syndicate_storage_syndicateprincipal_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3832--
3833
3834CREATE SEQUENCE syndicate_storage_syndicateprincipal_id_seq
3835 START WITH 1
3836 INCREMENT BY 1
3837 NO MINVALUE
3838 NO MAXVALUE
3839 CACHE 1;
3840
3841
3842ALTER TABLE public.syndicate_storage_syndicateprincipal_id_seq OWNER TO postgres;
3843
3844--
3845-- Name: syndicate_storage_syndicateprincipal_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3846--
3847
3848ALTER SEQUENCE syndicate_storage_syndicateprincipal_id_seq OWNED BY syndicate_storage_syndicateprincipal.id;
3849
3850
3851--
3852-- Name: syndicate_storage_syndicateservice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3853--
3854
3855CREATE TABLE syndicate_storage_syndicateservice (
3856 service_ptr_id integer NOT NULL
3857);
3858
3859
3860ALTER TABLE public.syndicate_storage_syndicateservice OWNER TO postgres;
3861
3862--
3863-- Name: syndicate_storage_volume; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3864--
3865
3866CREATE TABLE syndicate_storage_volume (
3867 id integer NOT NULL,
3868 created timestamp with time zone NOT NULL,
3869 updated timestamp with time zone NOT NULL,
3870 enacted timestamp with time zone,
3871 policed timestamp with time zone,
3872 backend_register character varying(140),
3873 backend_status character varying(1024) NOT NULL,
3874 deleted boolean NOT NULL,
3875 write_protect boolean NOT NULL,
3876 lazy_blocked boolean NOT NULL,
3877 no_sync boolean NOT NULL,
3878 name character varying(64) NOT NULL,
3879 description text,
3880 blocksize integer NOT NULL,
3881 private boolean NOT NULL,
3882 archive boolean NOT NULL,
3883 cap_read_data boolean NOT NULL,
3884 cap_write_data boolean NOT NULL,
3885 cap_host_data boolean NOT NULL,
3886 owner_id_id integer NOT NULL,
3887 CONSTRAINT syndicate_storage_volume_blocksize_check CHECK ((blocksize >= 0))
3888);
3889
3890
3891ALTER TABLE public.syndicate_storage_volume OWNER TO postgres;
3892
3893--
3894-- Name: syndicate_storage_volume_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3895--
3896
3897CREATE SEQUENCE syndicate_storage_volume_id_seq
3898 START WITH 1
3899 INCREMENT BY 1
3900 NO MINVALUE
3901 NO MAXVALUE
3902 CACHE 1;
3903
3904
3905ALTER TABLE public.syndicate_storage_volume_id_seq OWNER TO postgres;
3906
3907--
3908-- Name: syndicate_storage_volume_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3909--
3910
3911ALTER SEQUENCE syndicate_storage_volume_id_seq OWNED BY syndicate_storage_volume.id;
3912
3913
3914--
3915-- Name: syndicate_storage_volumeaccessright; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3916--
3917
3918CREATE TABLE syndicate_storage_volumeaccessright (
3919 id integer NOT NULL,
3920 created timestamp with time zone NOT NULL,
3921 updated timestamp with time zone NOT NULL,
3922 enacted timestamp with time zone,
3923 policed timestamp with time zone,
3924 backend_register character varying(140),
3925 backend_status character varying(1024) NOT NULL,
3926 deleted boolean NOT NULL,
3927 write_protect boolean NOT NULL,
3928 lazy_blocked boolean NOT NULL,
3929 no_sync boolean NOT NULL,
3930 cap_read_data boolean NOT NULL,
3931 cap_write_data boolean NOT NULL,
3932 cap_host_data boolean NOT NULL,
3933 owner_id_id integer NOT NULL,
3934 volume_id integer NOT NULL
3935);
3936
3937
3938ALTER TABLE public.syndicate_storage_volumeaccessright OWNER TO postgres;
3939
3940--
3941-- Name: syndicate_storage_volumeaccessright_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3942--
3943
3944CREATE SEQUENCE syndicate_storage_volumeaccessright_id_seq
3945 START WITH 1
3946 INCREMENT BY 1
3947 NO MINVALUE
3948 NO MAXVALUE
3949 CACHE 1;
3950
3951
3952ALTER TABLE public.syndicate_storage_volumeaccessright_id_seq OWNER TO postgres;
3953
3954--
3955-- Name: syndicate_storage_volumeaccessright_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
3956--
3957
3958ALTER SEQUENCE syndicate_storage_volumeaccessright_id_seq OWNED BY syndicate_storage_volumeaccessright.id;
3959
3960
3961--
3962-- Name: syndicate_storage_volumeslice; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
3963--
3964
3965CREATE TABLE syndicate_storage_volumeslice (
3966 id integer NOT NULL,
3967 created timestamp with time zone NOT NULL,
3968 updated timestamp with time zone NOT NULL,
3969 enacted timestamp with time zone,
3970 policed timestamp with time zone,
3971 backend_register character varying(140),
3972 backend_status character varying(1024) NOT NULL,
3973 deleted boolean NOT NULL,
3974 write_protect boolean NOT NULL,
3975 lazy_blocked boolean NOT NULL,
3976 no_sync boolean NOT NULL,
3977 cap_read_data boolean NOT NULL,
3978 cap_write_data boolean NOT NULL,
3979 cap_host_data boolean NOT NULL,
3980 "UG_portnum" integer NOT NULL,
3981 "RG_portnum" integer NOT NULL,
3982 credentials_blob text,
3983 slice_id_id integer NOT NULL,
3984 volume_id_id integer NOT NULL,
3985 CONSTRAINT "syndicate_storage_volumeslice_RG_portnum_check" CHECK (("RG_portnum" >= 0)),
3986 CONSTRAINT "syndicate_storage_volumeslice_UG_portnum_check" CHECK (("UG_portnum" >= 0))
3987);
3988
3989
3990ALTER TABLE public.syndicate_storage_volumeslice OWNER TO postgres;
3991
3992--
3993-- Name: syndicate_storage_volumeslice_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
3994--
3995
3996CREATE SEQUENCE syndicate_storage_volumeslice_id_seq
3997 START WITH 1
3998 INCREMENT BY 1
3999 NO MINVALUE
4000 NO MAXVALUE
4001 CACHE 1;
4002
4003
4004ALTER TABLE public.syndicate_storage_volumeslice_id_seq OWNER TO postgres;
4005
4006--
4007-- Name: syndicate_storage_volumeslice_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
4008--
4009
4010ALTER SEQUENCE syndicate_storage_volumeslice_id_seq OWNED BY syndicate_storage_volumeslice.id;
4011
4012
4013--
4014-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4015--
4016
4017ALTER TABLE ONLY auth_group ALTER COLUMN id SET DEFAULT nextval('auth_group_id_seq'::regclass);
4018
4019
4020--
4021-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4022--
4023
4024ALTER TABLE ONLY auth_group_permissions ALTER COLUMN id SET DEFAULT nextval('auth_group_permissions_id_seq'::regclass);
4025
4026
4027--
4028-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4029--
4030
4031ALTER TABLE ONLY auth_permission ALTER COLUMN id SET DEFAULT nextval('auth_permission_id_seq'::regclass);
4032
4033
4034--
4035-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4036--
4037
4038ALTER TABLE ONLY core_account ALTER COLUMN id SET DEFAULT nextval('core_account_id_seq'::regclass);
4039
4040
4041--
4042-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4043--
4044
4045ALTER TABLE ONLY core_charge ALTER COLUMN id SET DEFAULT nextval('core_charge_id_seq'::regclass);
4046
4047
4048--
4049-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4050--
4051
4052ALTER TABLE ONLY core_controller ALTER COLUMN id SET DEFAULT nextval('core_controller_id_seq'::regclass);
4053
4054
4055--
4056-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4057--
4058
4059ALTER TABLE ONLY core_controllercredential ALTER COLUMN id SET DEFAULT nextval('core_controllercredential_id_seq'::regclass);
4060
4061
4062--
4063-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4064--
4065
4066ALTER TABLE ONLY core_controllerdashboardview ALTER COLUMN id SET DEFAULT nextval('core_controllerdashboardview_id_seq'::regclass);
4067
4068
4069--
4070-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4071--
4072
4073ALTER TABLE ONLY core_controllerimages ALTER COLUMN id SET DEFAULT nextval('core_controllerimages_id_seq'::regclass);
4074
4075
4076--
4077-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4078--
4079
4080ALTER TABLE ONLY core_controllernetwork ALTER COLUMN id SET DEFAULT nextval('core_controllernetwork_id_seq'::regclass);
4081
4082
4083--
4084-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4085--
4086
4087ALTER TABLE ONLY core_controllerrole ALTER COLUMN id SET DEFAULT nextval('core_controllerrole_id_seq'::regclass);
4088
4089
4090--
4091-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4092--
4093
4094ALTER TABLE ONLY core_controllersite ALTER COLUMN id SET DEFAULT nextval('core_controllersite_id_seq'::regclass);
4095
4096
4097--
4098-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4099--
4100
4101ALTER TABLE ONLY core_controllersiteprivilege ALTER COLUMN id SET DEFAULT nextval('core_controllersiteprivilege_id_seq'::regclass);
4102
4103
4104--
4105-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4106--
4107
4108ALTER TABLE ONLY core_controllerslice ALTER COLUMN id SET DEFAULT nextval('core_controllerslice_id_seq'::regclass);
4109
4110
4111--
4112-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4113--
4114
4115ALTER TABLE ONLY core_controllersliceprivilege ALTER COLUMN id SET DEFAULT nextval('core_controllersliceprivilege_id_seq'::regclass);
4116
4117
4118--
4119-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4120--
4121
4122ALTER TABLE ONLY core_controlleruser ALTER COLUMN id SET DEFAULT nextval('core_controlleruser_id_seq'::regclass);
4123
4124
4125--
4126-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4127--
4128
4129ALTER TABLE ONLY core_dashboardview ALTER COLUMN id SET DEFAULT nextval('core_dashboardview_id_seq'::regclass);
4130
4131
4132--
4133-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4134--
4135
4136ALTER TABLE ONLY core_dashboardview_deployments ALTER COLUMN id SET DEFAULT nextval('core_dashboardview_deployments_id_seq'::regclass);
4137
4138
4139--
4140-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4141--
4142
4143ALTER TABLE ONLY core_deployment ALTER COLUMN id SET DEFAULT nextval('core_deployment_id_seq'::regclass);
4144
4145
4146--
4147-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4148--
4149
4150ALTER TABLE ONLY core_deploymentprivilege ALTER COLUMN id SET DEFAULT nextval('core_deploymentprivilege_id_seq'::regclass);
4151
4152
4153--
4154-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4155--
4156
4157ALTER TABLE ONLY core_deploymentrole ALTER COLUMN id SET DEFAULT nextval('core_deploymentrole_id_seq'::regclass);
4158
4159
4160--
4161-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4162--
4163
4164ALTER TABLE ONLY core_flavor ALTER COLUMN id SET DEFAULT nextval('core_flavor_id_seq'::regclass);
4165
4166
4167--
4168-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4169--
4170
4171ALTER TABLE ONLY core_flavor_deployments ALTER COLUMN id SET DEFAULT nextval('core_flavor_deployments_id_seq'::regclass);
4172
4173
4174--
4175-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4176--
4177
4178ALTER TABLE ONLY core_image ALTER COLUMN id SET DEFAULT nextval('core_image_id_seq'::regclass);
4179
4180
4181--
4182-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4183--
4184
4185ALTER TABLE ONLY core_imagedeployments ALTER COLUMN id SET DEFAULT nextval('core_imagedeployments_id_seq'::regclass);
4186
4187
4188--
4189-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4190--
4191
4192ALTER TABLE ONLY core_instance ALTER COLUMN id SET DEFAULT nextval('core_instance_id_seq'::regclass);
4193
4194
4195--
4196-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4197--
4198
4199ALTER TABLE ONLY core_invoice ALTER COLUMN id SET DEFAULT nextval('core_invoice_id_seq'::regclass);
4200
4201
4202--
4203-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4204--
4205
4206ALTER TABLE ONLY core_network ALTER COLUMN id SET DEFAULT nextval('core_network_id_seq'::regclass);
4207
4208
4209--
4210-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4211--
4212
4213ALTER TABLE ONLY core_network_permitted_slices ALTER COLUMN id SET DEFAULT nextval('core_network_permitted_slices_id_seq'::regclass);
4214
4215
4216--
4217-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4218--
4219
4220ALTER TABLE ONLY core_networkparameter ALTER COLUMN id SET DEFAULT nextval('core_networkparameter_id_seq'::regclass);
4221
4222
4223--
4224-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4225--
4226
4227ALTER TABLE ONLY core_networkparametertype ALTER COLUMN id SET DEFAULT nextval('core_networkparametertype_id_seq'::regclass);
4228
4229
4230--
4231-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4232--
4233
4234ALTER TABLE ONLY core_networkslice ALTER COLUMN id SET DEFAULT nextval('core_networkslice_id_seq'::regclass);
4235
4236
4237--
4238-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4239--
4240
4241ALTER TABLE ONLY core_networktemplate ALTER COLUMN id SET DEFAULT nextval('core_networktemplate_id_seq'::regclass);
4242
4243
4244--
4245-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4246--
4247
4248ALTER TABLE ONLY core_node ALTER COLUMN id SET DEFAULT nextval('core_node_id_seq'::regclass);
4249
4250
4251--
4252-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4253--
4254
4255ALTER TABLE ONLY core_payment ALTER COLUMN id SET DEFAULT nextval('core_payment_id_seq'::regclass);
4256
4257
4258--
4259-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4260--
4261
4262ALTER TABLE ONLY core_port ALTER COLUMN id SET DEFAULT nextval('core_port_id_seq'::regclass);
4263
4264
4265--
4266-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4267--
4268
4269ALTER TABLE ONLY core_program ALTER COLUMN id SET DEFAULT nextval('core_program_id_seq'::regclass);
4270
4271
4272--
4273-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4274--
4275
4276ALTER TABLE ONLY core_project ALTER COLUMN id SET DEFAULT nextval('core_project_id_seq'::regclass);
4277
4278
4279--
4280-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4281--
4282
4283ALTER TABLE ONLY core_reservation ALTER COLUMN id SET DEFAULT nextval('core_reservation_id_seq'::regclass);
4284
4285
4286--
4287-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4288--
4289
4290ALTER TABLE ONLY core_reservedresource ALTER COLUMN id SET DEFAULT nextval('core_reservedresource_id_seq'::regclass);
4291
4292
4293--
4294-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4295--
4296
4297ALTER TABLE ONLY core_role ALTER COLUMN id SET DEFAULT nextval('core_role_id_seq'::regclass);
4298
4299
4300--
4301-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4302--
4303
4304ALTER TABLE ONLY core_router ALTER COLUMN id SET DEFAULT nextval('core_router_id_seq'::regclass);
4305
4306
4307--
4308-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4309--
4310
4311ALTER TABLE ONLY core_router_networks ALTER COLUMN id SET DEFAULT nextval('core_router_networks_id_seq'::regclass);
4312
4313
4314--
4315-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4316--
4317
4318ALTER TABLE ONLY "core_router_permittedNetworks" ALTER COLUMN id SET DEFAULT nextval('"core_router_permittedNetworks_id_seq"'::regclass);
4319
4320
4321--
4322-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4323--
4324
4325ALTER TABLE ONLY core_service ALTER COLUMN id SET DEFAULT nextval('core_service_id_seq'::regclass);
4326
4327
4328--
4329-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4330--
4331
4332ALTER TABLE ONLY core_serviceattribute ALTER COLUMN id SET DEFAULT nextval('core_serviceattribute_id_seq'::regclass);
4333
4334
4335--
4336-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4337--
4338
4339ALTER TABLE ONLY core_serviceclass ALTER COLUMN id SET DEFAULT nextval('core_serviceclass_id_seq'::regclass);
4340
4341
4342--
4343-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4344--
4345
4346ALTER TABLE ONLY "core_serviceclass_upgradeFrom" ALTER COLUMN id SET DEFAULT nextval('"core_serviceclass_upgradeFrom_id_seq"'::regclass);
4347
4348
4349--
4350-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4351--
4352
4353ALTER TABLE ONLY core_serviceprivilege ALTER COLUMN id SET DEFAULT nextval('core_serviceprivilege_id_seq'::regclass);
4354
4355
4356--
4357-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4358--
4359
4360ALTER TABLE ONLY core_serviceresource ALTER COLUMN id SET DEFAULT nextval('core_serviceresource_id_seq'::regclass);
4361
4362
4363--
4364-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4365--
4366
4367ALTER TABLE ONLY core_servicerole ALTER COLUMN id SET DEFAULT nextval('core_servicerole_id_seq'::regclass);
4368
4369
4370--
4371-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4372--
4373
4374ALTER TABLE ONLY core_site ALTER COLUMN id SET DEFAULT nextval('core_site_id_seq'::regclass);
4375
4376
4377--
4378-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4379--
4380
4381ALTER TABLE ONLY core_sitecredential ALTER COLUMN id SET DEFAULT nextval('core_sitecredential_id_seq'::regclass);
4382
4383
4384--
4385-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4386--
4387
4388ALTER TABLE ONLY core_sitedeployment ALTER COLUMN id SET DEFAULT nextval('core_sitedeployment_id_seq'::regclass);
4389
4390
4391--
4392-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4393--
4394
4395ALTER TABLE ONLY core_siteprivilege ALTER COLUMN id SET DEFAULT nextval('core_siteprivilege_id_seq'::regclass);
4396
4397
4398--
4399-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4400--
4401
4402ALTER TABLE ONLY core_siterole ALTER COLUMN id SET DEFAULT nextval('core_siterole_id_seq'::regclass);
4403
4404
4405--
4406-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4407--
4408
4409ALTER TABLE ONLY core_slice ALTER COLUMN id SET DEFAULT nextval('core_slice_id_seq'::regclass);
4410
4411
4412--
4413-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4414--
4415
4416ALTER TABLE ONLY core_slicecredential ALTER COLUMN id SET DEFAULT nextval('core_slicecredential_id_seq'::regclass);
4417
4418
4419--
4420-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4421--
4422
4423ALTER TABLE ONLY core_sliceprivilege ALTER COLUMN id SET DEFAULT nextval('core_sliceprivilege_id_seq'::regclass);
4424
4425
4426--
4427-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4428--
4429
4430ALTER TABLE ONLY core_slicerole ALTER COLUMN id SET DEFAULT nextval('core_slicerole_id_seq'::regclass);
4431
4432
4433--
4434-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4435--
4436
4437ALTER TABLE ONLY core_slicetag ALTER COLUMN id SET DEFAULT nextval('core_slicetag_id_seq'::regclass);
4438
4439
4440--
4441-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4442--
4443
4444ALTER TABLE ONLY core_tag ALTER COLUMN id SET DEFAULT nextval('core_tag_id_seq'::regclass);
4445
4446
4447--
4448-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4449--
4450
4451ALTER TABLE ONLY core_tenant ALTER COLUMN id SET DEFAULT nextval('core_tenant_id_seq'::regclass);
4452
4453
4454--
4455-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4456--
4457
4458ALTER TABLE ONLY core_tenantroot ALTER COLUMN id SET DEFAULT nextval('core_tenantroot_id_seq'::regclass);
4459
4460
4461--
4462-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4463--
4464
4465ALTER TABLE ONLY core_tenantrootprivilege ALTER COLUMN id SET DEFAULT nextval('core_tenantrootprivilege_id_seq'::regclass);
4466
4467
4468--
4469-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4470--
4471
4472ALTER TABLE ONLY core_tenantrootrole ALTER COLUMN id SET DEFAULT nextval('core_tenantrootrole_id_seq'::regclass);
4473
4474
4475--
4476-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4477--
4478
4479ALTER TABLE ONLY core_usableobject ALTER COLUMN id SET DEFAULT nextval('core_usableobject_id_seq'::regclass);
4480
4481
4482--
4483-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4484--
4485
4486ALTER TABLE ONLY core_user ALTER COLUMN id SET DEFAULT nextval('core_user_id_seq'::regclass);
4487
4488
4489--
4490-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4491--
4492
4493ALTER TABLE ONLY core_usercredential ALTER COLUMN id SET DEFAULT nextval('core_usercredential_id_seq'::regclass);
4494
4495
4496--
4497-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4498--
4499
4500ALTER TABLE ONLY core_userdashboardview ALTER COLUMN id SET DEFAULT nextval('core_userdashboardview_id_seq'::regclass);
4501
4502
4503--
4504-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4505--
4506
4507ALTER TABLE ONLY django_admin_log ALTER COLUMN id SET DEFAULT nextval('django_admin_log_id_seq'::regclass);
4508
4509
4510--
4511-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4512--
4513
4514ALTER TABLE ONLY django_content_type ALTER COLUMN id SET DEFAULT nextval('django_content_type_id_seq'::regclass);
4515
4516
4517--
4518-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4519--
4520
4521ALTER TABLE ONLY django_migrations ALTER COLUMN id SET DEFAULT nextval('django_migrations_id_seq'::regclass);
4522
4523
4524--
4525-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4526--
4527
4528ALTER TABLE ONLY hpc_accessmap ALTER COLUMN id SET DEFAULT nextval('hpc_accessmap_id_seq'::regclass);
4529
4530
4531--
4532-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4533--
4534
4535ALTER TABLE ONLY hpc_cdnprefix ALTER COLUMN id SET DEFAULT nextval('hpc_cdnprefix_id_seq'::regclass);
4536
4537
4538--
4539-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4540--
4541
4542ALTER TABLE ONLY hpc_contentprovider ALTER COLUMN id SET DEFAULT nextval('hpc_contentprovider_id_seq'::regclass);
4543
4544
4545--
4546-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4547--
4548
4549ALTER TABLE ONLY hpc_contentprovider_users ALTER COLUMN id SET DEFAULT nextval('hpc_contentprovider_users_id_seq'::regclass);
4550
4551
4552--
4553-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4554--
4555
4556ALTER TABLE ONLY hpc_hpchealthcheck ALTER COLUMN id SET DEFAULT nextval('hpc_hpchealthcheck_id_seq'::regclass);
4557
4558
4559--
4560-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4561--
4562
4563ALTER TABLE ONLY hpc_originserver ALTER COLUMN id SET DEFAULT nextval('hpc_originserver_id_seq'::regclass);
4564
4565
4566--
4567-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4568--
4569
4570ALTER TABLE ONLY hpc_serviceprovider ALTER COLUMN id SET DEFAULT nextval('hpc_serviceprovider_id_seq'::regclass);
4571
4572
4573--
4574-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4575--
4576
4577ALTER TABLE ONLY hpc_sitemap ALTER COLUMN id SET DEFAULT nextval('hpc_sitemap_id_seq'::regclass);
4578
4579
4580--
4581-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4582--
4583
4584ALTER TABLE ONLY requestrouter_servicemap ALTER COLUMN id SET DEFAULT nextval('requestrouter_servicemap_id_seq'::regclass);
4585
4586
4587--
4588-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4589--
4590
4591ALTER TABLE ONLY syndicate_storage_slicesecret ALTER COLUMN id SET DEFAULT nextval('syndicate_storage_slicesecret_id_seq'::regclass);
4592
4593
4594--
4595-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4596--
4597
4598ALTER TABLE ONLY syndicate_storage_syndicateprincipal ALTER COLUMN id SET DEFAULT nextval('syndicate_storage_syndicateprincipal_id_seq'::regclass);
4599
4600
4601--
4602-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4603--
4604
4605ALTER TABLE ONLY syndicate_storage_volume ALTER COLUMN id SET DEFAULT nextval('syndicate_storage_volume_id_seq'::regclass);
4606
4607
4608--
4609-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4610--
4611
4612ALTER TABLE ONLY syndicate_storage_volumeaccessright ALTER COLUMN id SET DEFAULT nextval('syndicate_storage_volumeaccessright_id_seq'::regclass);
4613
4614
4615--
4616-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
4617--
4618
4619ALTER TABLE ONLY syndicate_storage_volumeslice ALTER COLUMN id SET DEFAULT nextval('syndicate_storage_volumeslice_id_seq'::regclass);
4620
4621
4622--
4623-- Name: auth_group_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4624--
4625
4626ALTER TABLE ONLY auth_group
4627 ADD CONSTRAINT auth_group_name_key UNIQUE (name);
4628
4629
4630--
4631-- Name: auth_group_permissions_group_id_permission_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4632--
4633
4634ALTER TABLE ONLY auth_group_permissions
4635 ADD CONSTRAINT auth_group_permissions_group_id_permission_id_key UNIQUE (group_id, permission_id);
4636
4637
4638--
4639-- Name: auth_group_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4640--
4641
4642ALTER TABLE ONLY auth_group_permissions
4643 ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);
4644
4645
4646--
4647-- Name: auth_group_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4648--
4649
4650ALTER TABLE ONLY auth_group
4651 ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);
4652
4653
4654--
4655-- Name: auth_permission_content_type_id_codename_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4656--
4657
4658ALTER TABLE ONLY auth_permission
4659 ADD CONSTRAINT auth_permission_content_type_id_codename_key UNIQUE (content_type_id, codename);
4660
4661
4662--
4663-- Name: auth_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4664--
4665
4666ALTER TABLE ONLY auth_permission
4667 ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);
4668
4669
4670--
4671-- Name: core_account_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4672--
4673
4674ALTER TABLE ONLY core_account
4675 ADD CONSTRAINT core_account_pkey PRIMARY KEY (id);
4676
4677
4678--
4679-- Name: core_charge_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4680--
4681
4682ALTER TABLE ONLY core_charge
4683 ADD CONSTRAINT core_charge_pkey PRIMARY KEY (id);
4684
4685
4686--
4687-- Name: core_controller_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4688--
4689
4690ALTER TABLE ONLY core_controller
4691 ADD CONSTRAINT core_controller_name_key UNIQUE (name);
4692
4693
4694--
4695-- Name: core_controller_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4696--
4697
4698ALTER TABLE ONLY core_controller
4699 ADD CONSTRAINT core_controller_pkey PRIMARY KEY (id);
4700
4701
4702--
4703-- Name: core_controllercredential_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4704--
4705
4706ALTER TABLE ONLY core_controllercredential
4707 ADD CONSTRAINT core_controllercredential_pkey PRIMARY KEY (id);
4708
4709
4710--
4711-- Name: core_controllerdashboardview_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4712--
4713
4714ALTER TABLE ONLY core_controllerdashboardview
4715 ADD CONSTRAINT core_controllerdashboardview_pkey PRIMARY KEY (id);
4716
4717
4718--
4719-- Name: core_controllerimages_image_id_77d3516dbca0a5d3_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4720--
4721
4722ALTER TABLE ONLY core_controllerimages
4723 ADD CONSTRAINT core_controllerimages_image_id_77d3516dbca0a5d3_uniq UNIQUE (image_id, controller_id);
4724
4725
4726--
4727-- Name: core_controllerimages_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4728--
4729
4730ALTER TABLE ONLY core_controllerimages
4731 ADD CONSTRAINT core_controllerimages_pkey PRIMARY KEY (id);
4732
4733
4734--
4735-- Name: core_controllernetwork_network_id_30ce4dc681f2844f_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4736--
4737
4738ALTER TABLE ONLY core_controllernetwork
4739 ADD CONSTRAINT core_controllernetwork_network_id_30ce4dc681f2844f_uniq UNIQUE (network_id, controller_id);
4740
4741
4742--
4743-- Name: core_controllernetwork_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4744--
4745
4746ALTER TABLE ONLY core_controllernetwork
4747 ADD CONSTRAINT core_controllernetwork_pkey PRIMARY KEY (id);
4748
4749
4750--
4751-- Name: core_controllerrole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4752--
4753
4754ALTER TABLE ONLY core_controllerrole
4755 ADD CONSTRAINT core_controllerrole_pkey PRIMARY KEY (id);
4756
4757
4758--
4759-- Name: core_controllerrole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4760--
4761
4762ALTER TABLE ONLY core_controllerrole
4763 ADD CONSTRAINT core_controllerrole_role_key UNIQUE (role);
4764
4765
4766--
4767-- Name: core_controllersite_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4768--
4769
4770ALTER TABLE ONLY core_controllersite
4771 ADD CONSTRAINT core_controllersite_pkey PRIMARY KEY (id);
4772
4773
4774--
4775-- Name: core_controllersite_site_id_22f56d79564bc81b_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4776--
4777
4778ALTER TABLE ONLY core_controllersite
4779 ADD CONSTRAINT core_controllersite_site_id_22f56d79564bc81b_uniq UNIQUE (site_id, controller_id);
4780
4781
4782--
4783-- Name: core_controllersiteprivileg_controller_id_5d0f19c7a7ceb9e5_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4784--
4785
4786ALTER TABLE ONLY core_controllersiteprivilege
4787 ADD CONSTRAINT core_controllersiteprivileg_controller_id_5d0f19c7a7ceb9e5_uniq UNIQUE (controller_id, site_privilege_id, role_id);
4788
4789
4790--
4791-- Name: core_controllersiteprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4792--
4793
4794ALTER TABLE ONLY core_controllersiteprivilege
4795 ADD CONSTRAINT core_controllersiteprivilege_pkey PRIMARY KEY (id);
4796
4797
4798--
4799-- Name: core_controllerslice_controller_id_427703e66574ab83_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4800--
4801
4802ALTER TABLE ONLY core_controllerslice
4803 ADD CONSTRAINT core_controllerslice_controller_id_427703e66574ab83_uniq UNIQUE (controller_id, slice_id);
4804
4805
4806--
4807-- Name: core_controllerslice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4808--
4809
4810ALTER TABLE ONLY core_controllerslice
4811 ADD CONSTRAINT core_controllerslice_pkey PRIMARY KEY (id);
4812
4813
4814--
4815-- Name: core_controllersliceprivile_controller_id_4e8a6f6f999d67c3_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4816--
4817
4818ALTER TABLE ONLY core_controllersliceprivilege
4819 ADD CONSTRAINT core_controllersliceprivile_controller_id_4e8a6f6f999d67c3_uniq UNIQUE (controller_id, slice_privilege_id);
4820
4821
4822--
4823-- Name: core_controllersliceprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4824--
4825
4826ALTER TABLE ONLY core_controllersliceprivilege
4827 ADD CONSTRAINT core_controllersliceprivilege_pkey PRIMARY KEY (id);
4828
4829
4830--
4831-- Name: core_controlleruser_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4832--
4833
4834ALTER TABLE ONLY core_controlleruser
4835 ADD CONSTRAINT core_controlleruser_pkey PRIMARY KEY (id);
4836
4837
4838--
4839-- Name: core_controlleruser_user_id_3beb039133bd099b_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4840--
4841
4842ALTER TABLE ONLY core_controlleruser
4843 ADD CONSTRAINT core_controlleruser_user_id_3beb039133bd099b_uniq UNIQUE (user_id, controller_id);
4844
4845
4846--
4847-- Name: core_dashboardview_deployment_dashboardview_id_deployment_i_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4848--
4849
4850ALTER TABLE ONLY core_dashboardview_deployments
4851 ADD CONSTRAINT core_dashboardview_deployment_dashboardview_id_deployment_i_key UNIQUE (dashboardview_id, deployment_id);
4852
4853
4854--
4855-- Name: core_dashboardview_deployments_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4856--
4857
4858ALTER TABLE ONLY core_dashboardview_deployments
4859 ADD CONSTRAINT core_dashboardview_deployments_pkey PRIMARY KEY (id);
4860
4861
4862--
4863-- Name: core_dashboardview_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4864--
4865
4866ALTER TABLE ONLY core_dashboardview
4867 ADD CONSTRAINT core_dashboardview_name_key UNIQUE (name);
4868
4869
4870--
4871-- Name: core_dashboardview_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4872--
4873
4874ALTER TABLE ONLY core_dashboardview
4875 ADD CONSTRAINT core_dashboardview_pkey PRIMARY KEY (id);
4876
4877
4878--
4879-- Name: core_deployment_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4880--
4881
4882ALTER TABLE ONLY core_deployment
4883 ADD CONSTRAINT core_deployment_name_key UNIQUE (name);
4884
4885
4886--
4887-- Name: core_deployment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4888--
4889
4890ALTER TABLE ONLY core_deployment
4891 ADD CONSTRAINT core_deployment_pkey PRIMARY KEY (id);
4892
4893
4894--
4895-- Name: core_deploymentprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4896--
4897
4898ALTER TABLE ONLY core_deploymentprivilege
4899 ADD CONSTRAINT core_deploymentprivilege_pkey PRIMARY KEY (id);
4900
4901
4902--
4903-- Name: core_deploymentprivilege_user_id_8f49da97c7cff06_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4904--
4905
4906ALTER TABLE ONLY core_deploymentprivilege
4907 ADD CONSTRAINT core_deploymentprivilege_user_id_8f49da97c7cff06_uniq UNIQUE (user_id, deployment_id, role_id);
4908
4909
4910--
4911-- Name: core_deploymentrole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4912--
4913
4914ALTER TABLE ONLY core_deploymentrole
4915 ADD CONSTRAINT core_deploymentrole_pkey PRIMARY KEY (id);
4916
4917
4918--
4919-- Name: core_deploymentrole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4920--
4921
4922ALTER TABLE ONLY core_deploymentrole
4923 ADD CONSTRAINT core_deploymentrole_role_key UNIQUE (role);
4924
4925
4926--
4927-- Name: core_flavor_deployments_flavor_id_deployment_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4928--
4929
4930ALTER TABLE ONLY core_flavor_deployments
4931 ADD CONSTRAINT core_flavor_deployments_flavor_id_deployment_id_key UNIQUE (flavor_id, deployment_id);
4932
4933
4934--
4935-- Name: core_flavor_deployments_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4936--
4937
4938ALTER TABLE ONLY core_flavor_deployments
4939 ADD CONSTRAINT core_flavor_deployments_pkey PRIMARY KEY (id);
4940
4941
4942--
4943-- Name: core_flavor_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4944--
4945
4946ALTER TABLE ONLY core_flavor
4947 ADD CONSTRAINT core_flavor_pkey PRIMARY KEY (id);
4948
4949
4950--
4951-- Name: core_image_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4952--
4953
4954ALTER TABLE ONLY core_image
4955 ADD CONSTRAINT core_image_name_key UNIQUE (name);
4956
4957
4958--
4959-- Name: core_image_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4960--
4961
4962ALTER TABLE ONLY core_image
4963 ADD CONSTRAINT core_image_pkey PRIMARY KEY (id);
4964
4965
4966--
4967-- Name: core_imagedeployments_image_id_3bc8a23925d399ff_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4968--
4969
4970ALTER TABLE ONLY core_imagedeployments
4971 ADD CONSTRAINT core_imagedeployments_image_id_3bc8a23925d399ff_uniq UNIQUE (image_id, deployment_id);
4972
4973
4974--
4975-- Name: core_imagedeployments_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4976--
4977
4978ALTER TABLE ONLY core_imagedeployments
4979 ADD CONSTRAINT core_imagedeployments_pkey PRIMARY KEY (id);
4980
4981
4982--
4983-- Name: core_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4984--
4985
4986ALTER TABLE ONLY core_instance
4987 ADD CONSTRAINT core_instance_pkey PRIMARY KEY (id);
4988
4989
4990--
4991-- Name: core_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
4992--
4993
4994ALTER TABLE ONLY core_invoice
4995 ADD CONSTRAINT core_invoice_pkey PRIMARY KEY (id);
4996
4997
4998--
4999-- Name: core_network_permitted_slices_network_id_slice_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5000--
5001
5002ALTER TABLE ONLY core_network_permitted_slices
5003 ADD CONSTRAINT core_network_permitted_slices_network_id_slice_id_key UNIQUE (network_id, slice_id);
5004
5005
5006--
5007-- Name: core_network_permitted_slices_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5008--
5009
5010ALTER TABLE ONLY core_network_permitted_slices
5011 ADD CONSTRAINT core_network_permitted_slices_pkey PRIMARY KEY (id);
5012
5013
5014--
5015-- Name: core_network_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5016--
5017
5018ALTER TABLE ONLY core_network
5019 ADD CONSTRAINT core_network_pkey PRIMARY KEY (id);
5020
5021
5022--
5023-- Name: core_networkparameter_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5024--
5025
5026ALTER TABLE ONLY core_networkparameter
5027 ADD CONSTRAINT core_networkparameter_pkey PRIMARY KEY (id);
5028
5029
5030--
5031-- Name: core_networkparametertype_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5032--
5033
5034ALTER TABLE ONLY core_networkparametertype
5035 ADD CONSTRAINT core_networkparametertype_pkey PRIMARY KEY (id);
5036
5037
5038--
5039-- Name: core_networkslice_network_id_78984d02ac7c1fb3_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5040--
5041
5042ALTER TABLE ONLY core_networkslice
5043 ADD CONSTRAINT core_networkslice_network_id_78984d02ac7c1fb3_uniq UNIQUE (network_id, slice_id);
5044
5045
5046--
5047-- Name: core_networkslice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5048--
5049
5050ALTER TABLE ONLY core_networkslice
5051 ADD CONSTRAINT core_networkslice_pkey PRIMARY KEY (id);
5052
5053
5054--
5055-- Name: core_networktemplate_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5056--
5057
5058ALTER TABLE ONLY core_networktemplate
5059 ADD CONSTRAINT core_networktemplate_pkey PRIMARY KEY (id);
5060
5061
5062--
5063-- Name: core_node_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5064--
5065
5066ALTER TABLE ONLY core_node
5067 ADD CONSTRAINT core_node_name_key UNIQUE (name);
5068
5069
5070--
5071-- Name: core_node_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5072--
5073
5074ALTER TABLE ONLY core_node
5075 ADD CONSTRAINT core_node_pkey PRIMARY KEY (id);
5076
5077
5078--
5079-- Name: core_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5080--
5081
5082ALTER TABLE ONLY core_payment
5083 ADD CONSTRAINT core_payment_pkey PRIMARY KEY (id);
5084
5085
5086--
5087-- Name: core_port_network_id_693ab091ccd5a89a_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5088--
5089
5090ALTER TABLE ONLY core_port
5091 ADD CONSTRAINT core_port_network_id_693ab091ccd5a89a_uniq UNIQUE (network_id, instance_id);
5092
5093
5094--
5095-- Name: core_port_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5096--
5097
5098ALTER TABLE ONLY core_port
5099 ADD CONSTRAINT core_port_pkey PRIMARY KEY (id);
5100
5101
5102--
5103-- Name: core_program_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5104--
5105
5106ALTER TABLE ONLY core_program
5107 ADD CONSTRAINT core_program_pkey PRIMARY KEY (id);
5108
5109
5110--
5111-- Name: core_project_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5112--
5113
5114ALTER TABLE ONLY core_project
5115 ADD CONSTRAINT core_project_name_key UNIQUE (name);
5116
5117
5118--
5119-- Name: core_project_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5120--
5121
5122ALTER TABLE ONLY core_project
5123 ADD CONSTRAINT core_project_pkey PRIMARY KEY (id);
5124
5125
5126--
5127-- Name: core_reservation_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5128--
5129
5130ALTER TABLE ONLY core_reservation
5131 ADD CONSTRAINT core_reservation_pkey PRIMARY KEY (id);
5132
5133
5134--
5135-- Name: core_reservedresource_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5136--
5137
5138ALTER TABLE ONLY core_reservedresource
5139 ADD CONSTRAINT core_reservedresource_pkey PRIMARY KEY (id);
5140
5141
5142--
5143-- Name: core_role_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5144--
5145
5146ALTER TABLE ONLY core_role
5147 ADD CONSTRAINT core_role_pkey PRIMARY KEY (id);
5148
5149
5150--
5151-- Name: core_router_networks_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5152--
5153
5154ALTER TABLE ONLY core_router_networks
5155 ADD CONSTRAINT core_router_networks_pkey PRIMARY KEY (id);
5156
5157
5158--
5159-- Name: core_router_networks_router_id_network_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5160--
5161
5162ALTER TABLE ONLY core_router_networks
5163 ADD CONSTRAINT core_router_networks_router_id_network_id_key UNIQUE (router_id, network_id);
5164
5165
5166--
5167-- Name: core_router_permittedNetworks_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5168--
5169
5170ALTER TABLE ONLY "core_router_permittedNetworks"
5171 ADD CONSTRAINT "core_router_permittedNetworks_pkey" PRIMARY KEY (id);
5172
5173
5174--
5175-- Name: core_router_permittedNetworks_router_id_network_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5176--
5177
5178ALTER TABLE ONLY "core_router_permittedNetworks"
5179 ADD CONSTRAINT "core_router_permittedNetworks_router_id_network_id_key" UNIQUE (router_id, network_id);
5180
5181
5182--
5183-- Name: core_router_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5184--
5185
5186ALTER TABLE ONLY core_router
5187 ADD CONSTRAINT core_router_pkey PRIMARY KEY (id);
5188
5189
5190--
5191-- Name: core_service_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5192--
5193
5194ALTER TABLE ONLY core_service
5195 ADD CONSTRAINT core_service_pkey PRIMARY KEY (id);
5196
5197
5198--
5199-- Name: core_serviceattribute_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5200--
5201
5202ALTER TABLE ONLY core_serviceattribute
5203 ADD CONSTRAINT core_serviceattribute_pkey PRIMARY KEY (id);
5204
5205
5206--
5207-- Name: core_serviceclass_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5208--
5209
5210ALTER TABLE ONLY core_serviceclass
5211 ADD CONSTRAINT core_serviceclass_pkey PRIMARY KEY (id);
5212
5213
5214--
5215-- Name: core_serviceclass_upgradeFrom_from_serviceclass_id_to_servi_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5216--
5217
5218ALTER TABLE ONLY "core_serviceclass_upgradeFrom"
5219 ADD CONSTRAINT "core_serviceclass_upgradeFrom_from_serviceclass_id_to_servi_key" UNIQUE (from_serviceclass_id, to_serviceclass_id);
5220
5221
5222--
5223-- Name: core_serviceclass_upgradeFrom_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5224--
5225
5226ALTER TABLE ONLY "core_serviceclass_upgradeFrom"
5227 ADD CONSTRAINT "core_serviceclass_upgradeFrom_pkey" PRIMARY KEY (id);
5228
5229
5230--
5231-- Name: core_serviceprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5232--
5233
5234ALTER TABLE ONLY core_serviceprivilege
5235 ADD CONSTRAINT core_serviceprivilege_pkey PRIMARY KEY (id);
5236
5237
5238--
5239-- Name: core_serviceprivilege_user_id_3e7ef04b1340e86c_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5240--
5241
5242ALTER TABLE ONLY core_serviceprivilege
5243 ADD CONSTRAINT core_serviceprivilege_user_id_3e7ef04b1340e86c_uniq UNIQUE (user_id, service_id, role_id);
5244
5245
5246--
5247-- Name: core_serviceresource_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5248--
5249
5250ALTER TABLE ONLY core_serviceresource
5251 ADD CONSTRAINT core_serviceresource_pkey PRIMARY KEY (id);
5252
5253
5254--
5255-- Name: core_servicerole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5256--
5257
5258ALTER TABLE ONLY core_servicerole
5259 ADD CONSTRAINT core_servicerole_pkey PRIMARY KEY (id);
5260
5261
5262--
5263-- Name: core_servicerole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5264--
5265
5266ALTER TABLE ONLY core_servicerole
5267 ADD CONSTRAINT core_servicerole_role_key UNIQUE (role);
5268
5269
5270--
5271-- Name: core_site_login_base_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5272--
5273
5274ALTER TABLE ONLY core_site
5275 ADD CONSTRAINT core_site_login_base_key UNIQUE (login_base);
5276
5277
5278--
5279-- Name: core_site_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5280--
5281
5282ALTER TABLE ONLY core_site
5283 ADD CONSTRAINT core_site_pkey PRIMARY KEY (id);
5284
5285
5286--
5287-- Name: core_sitecredential_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5288--
5289
5290ALTER TABLE ONLY core_sitecredential
5291 ADD CONSTRAINT core_sitecredential_pkey PRIMARY KEY (id);
5292
5293
5294--
5295-- Name: core_sitedeployment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5296--
5297
5298ALTER TABLE ONLY core_sitedeployment
5299 ADD CONSTRAINT core_sitedeployment_pkey PRIMARY KEY (id);
5300
5301
5302--
5303-- Name: core_sitedeployment_site_id_ed533b8a1954fbb_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5304--
5305
5306ALTER TABLE ONLY core_sitedeployment
5307 ADD CONSTRAINT core_sitedeployment_site_id_ed533b8a1954fbb_uniq UNIQUE (site_id, deployment_id, controller_id);
5308
5309
5310--
5311-- Name: core_siteprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5312--
5313
5314ALTER TABLE ONLY core_siteprivilege
5315 ADD CONSTRAINT core_siteprivilege_pkey PRIMARY KEY (id);
5316
5317
5318--
5319-- Name: core_siterole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5320--
5321
5322ALTER TABLE ONLY core_siterole
5323 ADD CONSTRAINT core_siterole_pkey PRIMARY KEY (id);
5324
5325
5326--
5327-- Name: core_siterole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5328--
5329
5330ALTER TABLE ONLY core_siterole
5331 ADD CONSTRAINT core_siterole_role_key UNIQUE (role);
5332
5333
5334--
5335-- Name: core_slice_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5336--
5337
5338ALTER TABLE ONLY core_slice
5339 ADD CONSTRAINT core_slice_name_key UNIQUE (name);
5340
5341
5342--
5343-- Name: core_slice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5344--
5345
5346ALTER TABLE ONLY core_slice
5347 ADD CONSTRAINT core_slice_pkey PRIMARY KEY (id);
5348
5349
5350--
5351-- Name: core_slicecredential_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5352--
5353
5354ALTER TABLE ONLY core_slicecredential
5355 ADD CONSTRAINT core_slicecredential_pkey PRIMARY KEY (id);
5356
5357
5358--
5359-- Name: core_sliceprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5360--
5361
5362ALTER TABLE ONLY core_sliceprivilege
5363 ADD CONSTRAINT core_sliceprivilege_pkey PRIMARY KEY (id);
5364
5365
5366--
5367-- Name: core_sliceprivilege_user_id_6bed734e37df8596_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5368--
5369
5370ALTER TABLE ONLY core_sliceprivilege
5371 ADD CONSTRAINT core_sliceprivilege_user_id_6bed734e37df8596_uniq UNIQUE (user_id, slice_id, role_id);
5372
5373
5374--
5375-- Name: core_slicerole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5376--
5377
5378ALTER TABLE ONLY core_slicerole
5379 ADD CONSTRAINT core_slicerole_pkey PRIMARY KEY (id);
5380
5381
5382--
5383-- Name: core_slicerole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5384--
5385
5386ALTER TABLE ONLY core_slicerole
5387 ADD CONSTRAINT core_slicerole_role_key UNIQUE (role);
5388
5389
5390--
5391-- Name: core_slicetag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5392--
5393
5394ALTER TABLE ONLY core_slicetag
5395 ADD CONSTRAINT core_slicetag_pkey PRIMARY KEY (id);
5396
5397
5398--
5399-- Name: core_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5400--
5401
5402ALTER TABLE ONLY core_tag
5403 ADD CONSTRAINT core_tag_pkey PRIMARY KEY (id);
5404
5405
5406--
5407-- Name: core_tenant_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5408--
5409
5410ALTER TABLE ONLY core_tenant
5411 ADD CONSTRAINT core_tenant_pkey PRIMARY KEY (id);
5412
5413
5414--
5415-- Name: core_tenantroot_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5416--
5417
5418ALTER TABLE ONLY core_tenantroot
5419 ADD CONSTRAINT core_tenantroot_pkey PRIMARY KEY (id);
5420
5421
5422--
5423-- Name: core_tenantrootprivilege_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5424--
5425
5426ALTER TABLE ONLY core_tenantrootprivilege
5427 ADD CONSTRAINT core_tenantrootprivilege_pkey PRIMARY KEY (id);
5428
5429
5430--
5431-- Name: core_tenantrootprivilege_user_id_2bfebdce70c89f50_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5432--
5433
5434ALTER TABLE ONLY core_tenantrootprivilege
5435 ADD CONSTRAINT core_tenantrootprivilege_user_id_2bfebdce70c89f50_uniq UNIQUE (user_id, tenant_root_id, role_id);
5436
5437
5438--
5439-- Name: core_tenantrootrole_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5440--
5441
5442ALTER TABLE ONLY core_tenantrootrole
5443 ADD CONSTRAINT core_tenantrootrole_pkey PRIMARY KEY (id);
5444
5445
5446--
5447-- Name: core_tenantrootrole_role_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5448--
5449
5450ALTER TABLE ONLY core_tenantrootrole
5451 ADD CONSTRAINT core_tenantrootrole_role_key UNIQUE (role);
5452
5453
5454--
5455-- Name: core_usableobject_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5456--
5457
5458ALTER TABLE ONLY core_usableobject
5459 ADD CONSTRAINT core_usableobject_pkey PRIMARY KEY (id);
5460
5461
5462--
5463-- Name: core_user_email_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5464--
5465
5466ALTER TABLE ONLY core_user
5467 ADD CONSTRAINT core_user_email_key UNIQUE (email);
5468
5469
5470--
5471-- Name: core_user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5472--
5473
5474ALTER TABLE ONLY core_user
5475 ADD CONSTRAINT core_user_pkey PRIMARY KEY (id);
5476
5477
5478--
5479-- Name: core_usercredential_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5480--
5481
5482ALTER TABLE ONLY core_usercredential
5483 ADD CONSTRAINT core_usercredential_pkey PRIMARY KEY (id);
5484
5485
5486--
5487-- Name: core_userdashboardview_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5488--
5489
5490ALTER TABLE ONLY core_userdashboardview
5491 ADD CONSTRAINT core_userdashboardview_pkey PRIMARY KEY (id);
5492
5493
5494--
5495-- Name: django_admin_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5496--
5497
5498ALTER TABLE ONLY django_admin_log
5499 ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);
5500
5501
5502--
5503-- Name: django_content_type_app_label_45f3b1d93ec8c61c_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5504--
5505
5506ALTER TABLE ONLY django_content_type
5507 ADD CONSTRAINT django_content_type_app_label_45f3b1d93ec8c61c_uniq UNIQUE (app_label, model);
5508
5509
5510--
5511-- Name: django_content_type_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5512--
5513
5514ALTER TABLE ONLY django_content_type
5515 ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);
5516
5517
5518--
5519-- Name: django_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5520--
5521
5522ALTER TABLE ONLY django_migrations
5523 ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);
5524
5525
5526--
5527-- Name: django_session_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5528--
5529
5530ALTER TABLE ONLY django_session
5531 ADD CONSTRAINT django_session_pkey PRIMARY KEY (session_key);
5532
5533
5534--
5535-- Name: hpc_accessmap_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5536--
5537
5538ALTER TABLE ONLY hpc_accessmap
5539 ADD CONSTRAINT hpc_accessmap_pkey PRIMARY KEY (id);
5540
5541
5542--
5543-- Name: hpc_cdnprefix_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5544--
5545
5546ALTER TABLE ONLY hpc_cdnprefix
5547 ADD CONSTRAINT hpc_cdnprefix_pkey PRIMARY KEY (id);
5548
5549
5550--
5551-- Name: hpc_contentprovider_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5552--
5553
5554ALTER TABLE ONLY hpc_contentprovider
5555 ADD CONSTRAINT hpc_contentprovider_pkey PRIMARY KEY (id);
5556
5557
5558--
5559-- Name: hpc_contentprovider_users_contentprovider_id_user_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5560--
5561
5562ALTER TABLE ONLY hpc_contentprovider_users
5563 ADD CONSTRAINT hpc_contentprovider_users_contentprovider_id_user_id_key UNIQUE (contentprovider_id, user_id);
5564
5565
5566--
5567-- Name: hpc_contentprovider_users_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5568--
5569
5570ALTER TABLE ONLY hpc_contentprovider_users
5571 ADD CONSTRAINT hpc_contentprovider_users_pkey PRIMARY KEY (id);
5572
5573
5574--
5575-- Name: hpc_hpchealthcheck_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5576--
5577
5578ALTER TABLE ONLY hpc_hpchealthcheck
5579 ADD CONSTRAINT hpc_hpchealthcheck_pkey PRIMARY KEY (id);
5580
5581
5582--
5583-- Name: hpc_hpcservice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5584--
5585
5586ALTER TABLE ONLY hpc_hpcservice
5587 ADD CONSTRAINT hpc_hpcservice_pkey PRIMARY KEY (service_ptr_id);
5588
5589
5590--
5591-- Name: hpc_originserver_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5592--
5593
5594ALTER TABLE ONLY hpc_originserver
5595 ADD CONSTRAINT hpc_originserver_pkey PRIMARY KEY (id);
5596
5597
5598--
5599-- Name: hpc_serviceprovider_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5600--
5601
5602ALTER TABLE ONLY hpc_serviceprovider
5603 ADD CONSTRAINT hpc_serviceprovider_pkey PRIMARY KEY (id);
5604
5605
5606--
5607-- Name: hpc_sitemap_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5608--
5609
5610ALTER TABLE ONLY hpc_sitemap
5611 ADD CONSTRAINT hpc_sitemap_pkey PRIMARY KEY (id);
5612
5613
5614--
5615-- Name: requestrouter_requestrouterservice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5616--
5617
5618ALTER TABLE ONLY requestrouter_requestrouterservice
5619 ADD CONSTRAINT requestrouter_requestrouterservice_pkey PRIMARY KEY (service_ptr_id);
5620
5621
5622--
5623-- Name: requestrouter_servicemap_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5624--
5625
5626ALTER TABLE ONLY requestrouter_servicemap
5627 ADD CONSTRAINT requestrouter_servicemap_name_key UNIQUE (name);
5628
5629
5630--
5631-- Name: requestrouter_servicemap_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5632--
5633
5634ALTER TABLE ONLY requestrouter_servicemap
5635 ADD CONSTRAINT requestrouter_servicemap_pkey PRIMARY KEY (id);
5636
5637
5638--
5639-- Name: syndicate_storage_slicesecret_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5640--
5641
5642ALTER TABLE ONLY syndicate_storage_slicesecret
5643 ADD CONSTRAINT syndicate_storage_slicesecret_pkey PRIMARY KEY (id);
5644
5645
5646--
5647-- Name: syndicate_storage_syndicateprincipal_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5648--
5649
5650ALTER TABLE ONLY syndicate_storage_syndicateprincipal
5651 ADD CONSTRAINT syndicate_storage_syndicateprincipal_pkey PRIMARY KEY (id);
5652
5653
5654--
5655-- Name: syndicate_storage_syndicateprincipal_principal_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5656--
5657
5658ALTER TABLE ONLY syndicate_storage_syndicateprincipal
5659 ADD CONSTRAINT syndicate_storage_syndicateprincipal_principal_id_key UNIQUE (principal_id);
5660
5661
5662--
5663-- Name: syndicate_storage_syndicateservice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5664--
5665
5666ALTER TABLE ONLY syndicate_storage_syndicateservice
5667 ADD CONSTRAINT syndicate_storage_syndicateservice_pkey PRIMARY KEY (service_ptr_id);
5668
5669
5670--
5671-- Name: syndicate_storage_volume_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5672--
5673
5674ALTER TABLE ONLY syndicate_storage_volume
5675 ADD CONSTRAINT syndicate_storage_volume_pkey PRIMARY KEY (id);
5676
5677
5678--
5679-- Name: syndicate_storage_volumeaccessright_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5680--
5681
5682ALTER TABLE ONLY syndicate_storage_volumeaccessright
5683 ADD CONSTRAINT syndicate_storage_volumeaccessright_pkey PRIMARY KEY (id);
5684
5685
5686--
5687-- Name: syndicate_storage_volumeslice_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres; Tablespace:
5688--
5689
5690ALTER TABLE ONLY syndicate_storage_volumeslice
5691 ADD CONSTRAINT syndicate_storage_volumeslice_pkey PRIMARY KEY (id);
5692
5693
5694--
5695-- Name: auth_group_permissions_0e939a4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5696--
5697
5698CREATE INDEX auth_group_permissions_0e939a4f ON auth_group_permissions USING btree (group_id);
5699
5700
5701--
5702-- Name: auth_group_permissions_8373b171; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5703--
5704
5705CREATE INDEX auth_group_permissions_8373b171 ON auth_group_permissions USING btree (permission_id);
5706
5707
5708--
5709-- Name: auth_permission_417f1b1c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5710--
5711
5712CREATE INDEX auth_permission_417f1b1c ON auth_permission USING btree (content_type_id);
5713
5714
5715--
5716-- Name: core_account_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5717--
5718
5719CREATE INDEX core_account_9365d6e7 ON core_account USING btree (site_id);
5720
5721
5722--
5723-- Name: core_charge_8a089c2a; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5724--
5725
5726CREATE INDEX core_charge_8a089c2a ON core_charge USING btree (account_id);
5727
5728
5729--
5730-- Name: core_charge_af31437c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5731--
5732
5733CREATE INDEX core_charge_af31437c ON core_charge USING btree (object_id);
5734
5735
5736--
5737-- Name: core_charge_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5738--
5739
5740CREATE INDEX core_charge_be7f3a0f ON core_charge USING btree (slice_id);
5741
5742
5743--
5744-- Name: core_charge_f1f5d967; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5745--
5746
5747CREATE INDEX core_charge_f1f5d967 ON core_charge USING btree (invoice_id);
5748
5749
5750--
5751-- Name: core_controller_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5752--
5753
5754CREATE INDEX core_controller_5921cd4f ON core_controller USING btree (deployment_id);
5755
5756
5757--
5758-- Name: core_controllercredential_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5759--
5760
5761CREATE INDEX core_controllercredential_a31c1112 ON core_controllercredential USING btree (controller_id);
5762
5763
5764--
5765-- Name: core_controllercredential_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5766--
5767
5768CREATE INDEX core_controllercredential_b068931c ON core_controllercredential USING btree (name);
5769
5770
5771--
5772-- Name: core_controllerdashboardview_5da0369f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5773--
5774
5775CREATE INDEX core_controllerdashboardview_5da0369f ON core_controllerdashboardview USING btree ("dashboardView_id");
5776
5777
5778--
5779-- Name: core_controllerdashboardview_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5780--
5781
5782CREATE INDEX core_controllerdashboardview_a31c1112 ON core_controllerdashboardview USING btree (controller_id);
5783
5784
5785--
5786-- Name: core_controllerimages_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5787--
5788
5789CREATE INDEX core_controllerimages_a31c1112 ON core_controllerimages USING btree (controller_id);
5790
5791
5792--
5793-- Name: core_controllerimages_f33175e6; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5794--
5795
5796CREATE INDEX core_controllerimages_f33175e6 ON core_controllerimages USING btree (image_id);
5797
5798
5799--
5800-- Name: core_controllernetwork_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5801--
5802
5803CREATE INDEX core_controllernetwork_4e19114d ON core_controllernetwork USING btree (network_id);
5804
5805
5806--
5807-- Name: core_controllernetwork_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5808--
5809
5810CREATE INDEX core_controllernetwork_a31c1112 ON core_controllernetwork USING btree (controller_id);
5811
5812
5813--
5814-- Name: core_controllersite_38543614; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5815--
5816
5817CREATE INDEX core_controllersite_38543614 ON core_controllersite USING btree (tenant_id);
5818
5819
5820--
5821-- Name: core_controllersite_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5822--
5823
5824CREATE INDEX core_controllersite_9365d6e7 ON core_controllersite USING btree (site_id);
5825
5826
5827--
5828-- Name: core_controllersite_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5829--
5830
5831CREATE INDEX core_controllersite_a31c1112 ON core_controllersite USING btree (controller_id);
5832
5833
5834--
5835-- Name: core_controllersiteprivilege_28116b8e; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5836--
5837
5838CREATE INDEX core_controllersiteprivilege_28116b8e ON core_controllersiteprivilege USING btree (site_privilege_id);
5839
5840
5841--
5842-- Name: core_controllersiteprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5843--
5844
5845CREATE INDEX core_controllersiteprivilege_84566833 ON core_controllersiteprivilege USING btree (role_id);
5846
5847
5848--
5849-- Name: core_controllersiteprivilege_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5850--
5851
5852CREATE INDEX core_controllersiteprivilege_a31c1112 ON core_controllersiteprivilege USING btree (controller_id);
5853
5854
5855--
5856-- Name: core_controllerslice_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5857--
5858
5859CREATE INDEX core_controllerslice_a31c1112 ON core_controllerslice USING btree (controller_id);
5860
5861
5862--
5863-- Name: core_controllerslice_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5864--
5865
5866CREATE INDEX core_controllerslice_be7f3a0f ON core_controllerslice USING btree (slice_id);
5867
5868
5869--
5870-- Name: core_controllersliceprivilege_25740d9a; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5871--
5872
5873CREATE INDEX core_controllersliceprivilege_25740d9a ON core_controllersliceprivilege USING btree (slice_privilege_id);
5874
5875
5876--
5877-- Name: core_controllersliceprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5878--
5879
5880CREATE INDEX core_controllersliceprivilege_84566833 ON core_controllersliceprivilege USING btree (role_id);
5881
5882
5883--
5884-- Name: core_controllersliceprivilege_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5885--
5886
5887CREATE INDEX core_controllersliceprivilege_a31c1112 ON core_controllersliceprivilege USING btree (controller_id);
5888
5889
5890--
5891-- Name: core_controlleruser_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5892--
5893
5894CREATE INDEX core_controlleruser_a31c1112 ON core_controlleruser USING btree (controller_id);
5895
5896
5897--
5898-- Name: core_controlleruser_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5899--
5900
5901CREATE INDEX core_controlleruser_e8701ad4 ON core_controlleruser USING btree (user_id);
5902
5903
5904--
5905-- Name: core_dashboardview_deployments_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5906--
5907
5908CREATE INDEX core_dashboardview_deployments_5921cd4f ON core_dashboardview_deployments USING btree (deployment_id);
5909
5910
5911--
5912-- Name: core_dashboardview_deployments_79bd56c8; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5913--
5914
5915CREATE INDEX core_dashboardview_deployments_79bd56c8 ON core_dashboardview_deployments USING btree (dashboardview_id);
5916
5917
5918--
5919-- Name: core_deploymentprivilege_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5920--
5921
5922CREATE INDEX core_deploymentprivilege_5921cd4f ON core_deploymentprivilege USING btree (deployment_id);
5923
5924
5925--
5926-- Name: core_deploymentprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5927--
5928
5929CREATE INDEX core_deploymentprivilege_84566833 ON core_deploymentprivilege USING btree (role_id);
5930
5931
5932--
5933-- Name: core_deploymentprivilege_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5934--
5935
5936CREATE INDEX core_deploymentprivilege_e8701ad4 ON core_deploymentprivilege USING btree (user_id);
5937
5938
5939--
5940-- Name: core_flavor_deployments_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5941--
5942
5943CREATE INDEX core_flavor_deployments_5921cd4f ON core_flavor_deployments USING btree (deployment_id);
5944
5945
5946--
5947-- Name: core_flavor_deployments_dd3f198d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5948--
5949
5950CREATE INDEX core_flavor_deployments_dd3f198d ON core_flavor_deployments USING btree (flavor_id);
5951
5952
5953--
5954-- Name: core_imagedeployments_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5955--
5956
5957CREATE INDEX core_imagedeployments_5921cd4f ON core_imagedeployments USING btree (deployment_id);
5958
5959
5960--
5961-- Name: core_imagedeployments_f33175e6; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5962--
5963
5964CREATE INDEX core_imagedeployments_f33175e6 ON core_imagedeployments USING btree (image_id);
5965
5966
5967--
5968-- Name: core_instance_3700153c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5969--
5970
5971CREATE INDEX core_instance_3700153c ON core_instance USING btree (creator_id);
5972
5973
5974--
5975-- Name: core_instance_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5976--
5977
5978CREATE INDEX core_instance_5921cd4f ON core_instance USING btree (deployment_id);
5979
5980
5981--
5982-- Name: core_instance_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5983--
5984
5985CREATE INDEX core_instance_be7f3a0f ON core_instance USING btree (slice_id);
5986
5987
5988--
5989-- Name: core_instance_c693ebc8; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5990--
5991
5992CREATE INDEX core_instance_c693ebc8 ON core_instance USING btree (node_id);
5993
5994
5995--
5996-- Name: core_instance_dd3f198d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
5997--
5998
5999CREATE INDEX core_instance_dd3f198d ON core_instance USING btree (flavor_id);
6000
6001
6002--
6003-- Name: core_instance_f33175e6; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6004--
6005
6006CREATE INDEX core_instance_f33175e6 ON core_instance USING btree (image_id);
6007
6008
6009--
6010-- Name: core_invoice_8a089c2a; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6011--
6012
6013CREATE INDEX core_invoice_8a089c2a ON core_invoice USING btree (account_id);
6014
6015
6016--
6017-- Name: core_network_5e7b1936; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6018--
6019
6020CREATE INDEX core_network_5e7b1936 ON core_network USING btree (owner_id);
6021
6022
6023--
6024-- Name: core_network_74f53564; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6025--
6026
6027CREATE INDEX core_network_74f53564 ON core_network USING btree (template_id);
6028
6029
6030--
6031-- Name: core_network_permitted_slices_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6032--
6033
6034CREATE INDEX core_network_permitted_slices_4e19114d ON core_network_permitted_slices USING btree (network_id);
6035
6036
6037--
6038-- Name: core_network_permitted_slices_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6039--
6040
6041CREATE INDEX core_network_permitted_slices_be7f3a0f ON core_network_permitted_slices USING btree (slice_id);
6042
6043
6044--
6045-- Name: core_networkparameter_417f1b1c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6046--
6047
6048CREATE INDEX core_networkparameter_417f1b1c ON core_networkparameter USING btree (content_type_id);
6049
6050
6051--
6052-- Name: core_networkparameter_80740216; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6053--
6054
6055CREATE INDEX core_networkparameter_80740216 ON core_networkparameter USING btree (parameter_id);
6056
6057
6058--
6059-- Name: core_networkparametertype_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6060--
6061
6062CREATE INDEX core_networkparametertype_b068931c ON core_networkparametertype USING btree (name);
6063
6064
6065--
6066-- Name: core_networkslice_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6067--
6068
6069CREATE INDEX core_networkslice_4e19114d ON core_networkslice USING btree (network_id);
6070
6071
6072--
6073-- Name: core_networkslice_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6074--
6075
6076CREATE INDEX core_networkslice_be7f3a0f ON core_networkslice USING btree (slice_id);
6077
6078
6079--
6080-- Name: core_node_86aed61a; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6081--
6082
6083CREATE INDEX core_node_86aed61a ON core_node USING btree (site_deployment_id);
6084
6085
6086--
6087-- Name: core_node_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6088--
6089
6090CREATE INDEX core_node_9365d6e7 ON core_node USING btree (site_id);
6091
6092
6093--
6094-- Name: core_payment_8a089c2a; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6095--
6096
6097CREATE INDEX core_payment_8a089c2a ON core_payment USING btree (account_id);
6098
6099
6100--
6101-- Name: core_port_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6102--
6103
6104CREATE INDEX core_port_4e19114d ON core_port USING btree (network_id);
6105
6106
6107--
6108-- Name: core_port_51afcc4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6109--
6110
6111CREATE INDEX core_port_51afcc4f ON core_port USING btree (instance_id);
6112
6113
6114--
6115-- Name: core_program_5e7b1936; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6116--
6117
6118CREATE INDEX core_program_5e7b1936 ON core_program USING btree (owner_id);
6119
6120
6121--
6122-- Name: core_reservation_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6123--
6124
6125CREATE INDEX core_reservation_be7f3a0f ON core_reservation USING btree (slice_id);
6126
6127
6128--
6129-- Name: core_reservedresource_51afcc4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6130--
6131
6132CREATE INDEX core_reservedresource_51afcc4f ON core_reservedresource USING btree (instance_id);
6133
6134
6135--
6136-- Name: core_reservedresource_732beb09; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6137--
6138
6139CREATE INDEX core_reservedresource_732beb09 ON core_reservedresource USING btree ("reservationSet_id");
6140
6141
6142--
6143-- Name: core_reservedresource_e2f3ef5b; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6144--
6145
6146CREATE INDEX core_reservedresource_e2f3ef5b ON core_reservedresource USING btree (resource_id);
6147
6148
6149--
6150-- Name: core_role_417f1b1c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6151--
6152
6153CREATE INDEX core_role_417f1b1c ON core_role USING btree (content_type_id);
6154
6155
6156--
6157-- Name: core_router_5e7b1936; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6158--
6159
6160CREATE INDEX core_router_5e7b1936 ON core_router USING btree (owner_id);
6161
6162
6163--
6164-- Name: core_router_networks_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6165--
6166
6167CREATE INDEX core_router_networks_4e19114d ON core_router_networks USING btree (network_id);
6168
6169
6170--
6171-- Name: core_router_networks_52d4f3af; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6172--
6173
6174CREATE INDEX core_router_networks_52d4f3af ON core_router_networks USING btree (router_id);
6175
6176
6177--
6178-- Name: core_router_permittednetworks_4e19114d; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6179--
6180
6181CREATE INDEX core_router_permittednetworks_4e19114d ON "core_router_permittedNetworks" USING btree (network_id);
6182
6183
6184--
6185-- Name: core_router_permittednetworks_52d4f3af; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6186--
6187
6188CREATE INDEX core_router_permittednetworks_52d4f3af ON "core_router_permittedNetworks" USING btree (router_id);
6189
6190
6191--
6192-- Name: core_serviceattribute_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6193--
6194
6195CREATE INDEX core_serviceattribute_b068931c ON core_serviceattribute USING btree (name);
6196
6197
6198--
6199-- Name: core_serviceattribute_b0dc1e29; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6200--
6201
6202CREATE INDEX core_serviceattribute_b0dc1e29 ON core_serviceattribute USING btree (service_id);
6203
6204
6205--
6206-- Name: core_serviceclass_upgradefrom_a90aba97; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6207--
6208
6209CREATE INDEX core_serviceclass_upgradefrom_a90aba97 ON "core_serviceclass_upgradeFrom" USING btree (to_serviceclass_id);
6210
6211
6212--
6213-- Name: core_serviceclass_upgradefrom_e970e0f1; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6214--
6215
6216CREATE INDEX core_serviceclass_upgradefrom_e970e0f1 ON "core_serviceclass_upgradeFrom" USING btree (from_serviceclass_id);
6217
6218
6219--
6220-- Name: core_serviceprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6221--
6222
6223CREATE INDEX core_serviceprivilege_84566833 ON core_serviceprivilege USING btree (role_id);
6224
6225
6226--
6227-- Name: core_serviceprivilege_b0dc1e29; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6228--
6229
6230CREATE INDEX core_serviceprivilege_b0dc1e29 ON core_serviceprivilege USING btree (service_id);
6231
6232
6233--
6234-- Name: core_serviceprivilege_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6235--
6236
6237CREATE INDEX core_serviceprivilege_e8701ad4 ON core_serviceprivilege USING btree (user_id);
6238
6239
6240--
6241-- Name: core_serviceresource_aa578034; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6242--
6243
6244CREATE INDEX core_serviceresource_aa578034 ON core_serviceresource USING btree ("serviceClass_id");
6245
6246
6247--
6248-- Name: core_sitecredential_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6249--
6250
6251CREATE INDEX core_sitecredential_9365d6e7 ON core_sitecredential USING btree (site_id);
6252
6253
6254--
6255-- Name: core_sitecredential_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6256--
6257
6258CREATE INDEX core_sitecredential_b068931c ON core_sitecredential USING btree (name);
6259
6260
6261--
6262-- Name: core_sitedeployment_5921cd4f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6263--
6264
6265CREATE INDEX core_sitedeployment_5921cd4f ON core_sitedeployment USING btree (deployment_id);
6266
6267
6268--
6269-- Name: core_sitedeployment_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6270--
6271
6272CREATE INDEX core_sitedeployment_9365d6e7 ON core_sitedeployment USING btree (site_id);
6273
6274
6275--
6276-- Name: core_sitedeployment_a31c1112; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6277--
6278
6279CREATE INDEX core_sitedeployment_a31c1112 ON core_sitedeployment USING btree (controller_id);
6280
6281
6282--
6283-- Name: core_siteprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6284--
6285
6286CREATE INDEX core_siteprivilege_84566833 ON core_siteprivilege USING btree (role_id);
6287
6288
6289--
6290-- Name: core_siteprivilege_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6291--
6292
6293CREATE INDEX core_siteprivilege_9365d6e7 ON core_siteprivilege USING btree (site_id);
6294
6295
6296--
6297-- Name: core_siteprivilege_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6298--
6299
6300CREATE INDEX core_siteprivilege_e8701ad4 ON core_siteprivilege USING btree (user_id);
6301
6302
6303--
6304-- Name: core_slice_3700153c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6305--
6306
6307CREATE INDEX core_slice_3700153c ON core_slice USING btree (creator_id);
6308
6309
6310--
6311-- Name: core_slice_531a000f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6312--
6313
6314CREATE INDEX core_slice_531a000f ON core_slice USING btree (default_flavor_id);
6315
6316
6317--
6318-- Name: core_slice_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6319--
6320
6321CREATE INDEX core_slice_9365d6e7 ON core_slice USING btree (site_id);
6322
6323
6324--
6325-- Name: core_slice_a82f732f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6326--
6327
6328CREATE INDEX core_slice_a82f732f ON core_slice USING btree (default_image_id);
6329
6330
6331--
6332-- Name: core_slice_aa578034; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6333--
6334
6335CREATE INDEX core_slice_aa578034 ON core_slice USING btree ("serviceClass_id");
6336
6337
6338--
6339-- Name: core_slice_b0dc1e29; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6340--
6341
6342CREATE INDEX core_slice_b0dc1e29 ON core_slice USING btree (service_id);
6343
6344
6345--
6346-- Name: core_slicecredential_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6347--
6348
6349CREATE INDEX core_slicecredential_b068931c ON core_slicecredential USING btree (name);
6350
6351
6352--
6353-- Name: core_slicecredential_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6354--
6355
6356CREATE INDEX core_slicecredential_be7f3a0f ON core_slicecredential USING btree (slice_id);
6357
6358
6359--
6360-- Name: core_sliceprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6361--
6362
6363CREATE INDEX core_sliceprivilege_84566833 ON core_sliceprivilege USING btree (role_id);
6364
6365
6366--
6367-- Name: core_sliceprivilege_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6368--
6369
6370CREATE INDEX core_sliceprivilege_be7f3a0f ON core_sliceprivilege USING btree (slice_id);
6371
6372
6373--
6374-- Name: core_sliceprivilege_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6375--
6376
6377CREATE INDEX core_sliceprivilege_e8701ad4 ON core_sliceprivilege USING btree (user_id);
6378
6379
6380--
6381-- Name: core_slicetag_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6382--
6383
6384CREATE INDEX core_slicetag_be7f3a0f ON core_slicetag USING btree (slice_id);
6385
6386
6387--
6388-- Name: core_tag_417f1b1c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6389--
6390
6391CREATE INDEX core_tag_417f1b1c ON core_tag USING btree (content_type_id);
6392
6393
6394--
6395-- Name: core_tag_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6396--
6397
6398CREATE INDEX core_tag_b068931c ON core_tag USING btree (name);
6399
6400
6401--
6402-- Name: core_tag_b0dc1e29; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6403--
6404
6405CREATE INDEX core_tag_b0dc1e29 ON core_tag USING btree (service_id);
6406
6407
6408--
6409-- Name: core_tenant_6d0512e4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6410--
6411
6412CREATE INDEX core_tenant_6d0512e4 ON core_tenant USING btree (subscriber_tenant_id);
6413
6414
6415--
6416-- Name: core_tenant_a5c60fe7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6417--
6418
6419CREATE INDEX core_tenant_a5c60fe7 ON core_tenant USING btree (subscriber_service_id);
6420
6421
6422--
6423-- Name: core_tenant_d1fbfb28; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6424--
6425
6426CREATE INDEX core_tenant_d1fbfb28 ON core_tenant USING btree (provider_service_id);
6427
6428
6429--
6430-- Name: core_tenant_ec8cbfdc; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6431--
6432
6433CREATE INDEX core_tenant_ec8cbfdc ON core_tenant USING btree (subscriber_user_id);
6434
6435
6436--
6437-- Name: core_tenant_f687e49c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6438--
6439
6440CREATE INDEX core_tenant_f687e49c ON core_tenant USING btree (subscriber_root_id);
6441
6442
6443--
6444-- Name: core_tenantrootprivilege_84566833; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6445--
6446
6447CREATE INDEX core_tenantrootprivilege_84566833 ON core_tenantrootprivilege USING btree (role_id);
6448
6449
6450--
6451-- Name: core_tenantrootprivilege_ad876f96; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6452--
6453
6454CREATE INDEX core_tenantrootprivilege_ad876f96 ON core_tenantrootprivilege USING btree (tenant_root_id);
6455
6456
6457--
6458-- Name: core_tenantrootprivilege_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6459--
6460
6461CREATE INDEX core_tenantrootprivilege_e8701ad4 ON core_tenantrootprivilege USING btree (user_id);
6462
6463
6464--
6465-- Name: core_user_9365d6e7; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6466--
6467
6468CREATE INDEX core_user_9365d6e7 ON core_user USING btree (site_id);
6469
6470
6471--
6472-- Name: core_usercredential_b068931c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6473--
6474
6475CREATE INDEX core_usercredential_b068931c ON core_usercredential USING btree (name);
6476
6477
6478--
6479-- Name: core_usercredential_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6480--
6481
6482CREATE INDEX core_usercredential_e8701ad4 ON core_usercredential USING btree (user_id);
6483
6484
6485--
6486-- Name: core_userdashboardview_5da0369f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6487--
6488
6489CREATE INDEX core_userdashboardview_5da0369f ON core_userdashboardview USING btree ("dashboardView_id");
6490
6491
6492--
6493-- Name: core_userdashboardview_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6494--
6495
6496CREATE INDEX core_userdashboardview_e8701ad4 ON core_userdashboardview USING btree (user_id);
6497
6498
6499--
6500-- Name: django_admin_log_417f1b1c; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6501--
6502
6503CREATE INDEX django_admin_log_417f1b1c ON django_admin_log USING btree (content_type_id);
6504
6505
6506--
6507-- Name: django_admin_log_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6508--
6509
6510CREATE INDEX django_admin_log_e8701ad4 ON django_admin_log USING btree (user_id);
6511
6512
6513--
6514-- Name: django_session_de54fa62; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6515--
6516
6517CREATE INDEX django_session_de54fa62 ON django_session USING btree (expire_date);
6518
6519
6520--
6521-- Name: hpc_accessmap_bc4912a0; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6522--
6523
6524CREATE INDEX hpc_accessmap_bc4912a0 ON hpc_accessmap USING btree ("contentProvider_id");
6525
6526
6527--
6528-- Name: hpc_cdnprefix_8473b38b; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6529--
6530
6531CREATE INDEX hpc_cdnprefix_8473b38b ON hpc_cdnprefix USING btree ("defaultOriginServer_id");
6532
6533
6534--
6535-- Name: hpc_cdnprefix_bc4912a0; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6536--
6537
6538CREATE INDEX hpc_cdnprefix_bc4912a0 ON hpc_cdnprefix USING btree ("contentProvider_id");
6539
6540
6541--
6542-- Name: hpc_contentprovider_ebdbc659; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6543--
6544
6545CREATE INDEX hpc_contentprovider_ebdbc659 ON hpc_contentprovider USING btree ("serviceProvider_id");
6546
6547
6548--
6549-- Name: hpc_contentprovider_users_82c06917; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6550--
6551
6552CREATE INDEX hpc_contentprovider_users_82c06917 ON hpc_contentprovider_users USING btree (contentprovider_id);
6553
6554
6555--
6556-- Name: hpc_contentprovider_users_e8701ad4; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6557--
6558
6559CREATE INDEX hpc_contentprovider_users_e8701ad4 ON hpc_contentprovider_users USING btree (user_id);
6560
6561
6562--
6563-- Name: hpc_hpchealthcheck_591847bf; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6564--
6565
6566CREATE INDEX hpc_hpchealthcheck_591847bf ON hpc_hpchealthcheck USING btree ("hpcService_id");
6567
6568
6569--
6570-- Name: hpc_originserver_bc4912a0; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6571--
6572
6573CREATE INDEX hpc_originserver_bc4912a0 ON hpc_originserver USING btree ("contentProvider_id");
6574
6575
6576--
6577-- Name: hpc_serviceprovider_591847bf; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6578--
6579
6580CREATE INDEX hpc_serviceprovider_591847bf ON hpc_serviceprovider USING btree ("hpcService_id");
6581
6582
6583--
6584-- Name: hpc_sitemap_23b3ec8f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6585--
6586
6587CREATE INDEX hpc_sitemap_23b3ec8f ON hpc_sitemap USING btree ("cdnPrefix_id");
6588
6589
6590--
6591-- Name: hpc_sitemap_591847bf; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6592--
6593
6594CREATE INDEX hpc_sitemap_591847bf ON hpc_sitemap USING btree ("hpcService_id");
6595
6596
6597--
6598-- Name: hpc_sitemap_bc4912a0; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6599--
6600
6601CREATE INDEX hpc_sitemap_bc4912a0 ON hpc_sitemap USING btree ("contentProvider_id");
6602
6603
6604--
6605-- Name: hpc_sitemap_ebdbc659; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6606--
6607
6608CREATE INDEX hpc_sitemap_ebdbc659 ON hpc_sitemap USING btree ("serviceProvider_id");
6609
6610
6611--
6612-- Name: requestrouter_servicemap_5e7b1936; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6613--
6614
6615CREATE INDEX requestrouter_servicemap_5e7b1936 ON requestrouter_servicemap USING btree (owner_id);
6616
6617
6618--
6619-- Name: requestrouter_servicemap_be7f3a0f; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6620--
6621
6622CREATE INDEX requestrouter_servicemap_be7f3a0f ON requestrouter_servicemap USING btree (slice_id);
6623
6624
6625--
6626-- Name: syndicate_storage_slicesecret_b717f5ab; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6627--
6628
6629CREATE INDEX syndicate_storage_slicesecret_b717f5ab ON syndicate_storage_slicesecret USING btree (slice_id_id);
6630
6631
6632--
6633-- Name: syndicate_storage_volume_279564bf; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6634--
6635
6636CREATE INDEX syndicate_storage_volume_279564bf ON syndicate_storage_volume USING btree (owner_id_id);
6637
6638
6639--
6640-- Name: syndicate_storage_volumeaccessright_279564bf; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6641--
6642
6643CREATE INDEX syndicate_storage_volumeaccessright_279564bf ON syndicate_storage_volumeaccessright USING btree (owner_id_id);
6644
6645
6646--
6647-- Name: syndicate_storage_volumeaccessright_654102bb; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6648--
6649
6650CREATE INDEX syndicate_storage_volumeaccessright_654102bb ON syndicate_storage_volumeaccessright USING btree (volume_id);
6651
6652
6653--
6654-- Name: syndicate_storage_volumeslice_5b591651; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6655--
6656
6657CREATE INDEX syndicate_storage_volumeslice_5b591651 ON syndicate_storage_volumeslice USING btree (volume_id_id);
6658
6659
6660--
6661-- Name: syndicate_storage_volumeslice_b717f5ab; Type: INDEX; Schema: public; Owner: postgres; Tablespace:
6662--
6663
6664CREATE INDEX syndicate_storage_volumeslice_b717f5ab ON syndicate_storage_volumeslice USING btree (slice_id_id);
6665
6666
6667--
6668-- Name: auth_content_type_id_508cf46651277a81_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6669--
6670
6671ALTER TABLE ONLY auth_permission
6672 ADD CONSTRAINT auth_content_type_id_508cf46651277a81_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
6673
6674
6675--
6676-- Name: auth_group_permissio_group_id_689710a9a73b7457_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6677--
6678
6679ALTER TABLE ONLY auth_group_permissions
6680 ADD CONSTRAINT auth_group_permissio_group_id_689710a9a73b7457_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES auth_group(id) DEFERRABLE INITIALLY DEFERRED;
6681
6682
6683--
6684-- Name: auth_group_permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6685--
6686
6687ALTER TABLE ONLY auth_group_permissions
6688 ADD CONSTRAINT auth_group_permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id FOREIGN KEY (permission_id) REFERENCES auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
6689
6690
6691--
6692-- Name: b8a90faf34a5dd47a7f1e2f88e99f8a2; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6693--
6694
6695ALTER TABLE ONLY hpc_hpchealthcheck
6696 ADD CONSTRAINT b8a90faf34a5dd47a7f1e2f88e99f8a2 FOREIGN KEY ("hpcService_id") REFERENCES hpc_hpcservice(service_ptr_id) DEFERRABLE INITIALLY DEFERRED;
6697
6698
6699--
6700-- Name: c_from_serviceclass_id_188a83eaefe26390_fk_core_serviceclass_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6701--
6702
6703ALTER TABLE ONLY "core_serviceclass_upgradeFrom"
6704 ADD CONSTRAINT c_from_serviceclass_id_188a83eaefe26390_fk_core_serviceclass_id FOREIGN KEY (from_serviceclass_id) REFERENCES core_serviceclass(id) DEFERRABLE INITIALLY DEFERRED;
6705
6706
6707--
6708-- Name: c_parameter_id_2c17791ba32bd8c8_fk_core_networkparametertype_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6709--
6710
6711ALTER TABLE ONLY core_networkparameter
6712 ADD CONSTRAINT c_parameter_id_2c17791ba32bd8c8_fk_core_networkparametertype_id FOREIGN KEY (parameter_id) REFERENCES core_networkparametertype(id) DEFERRABLE INITIALLY DEFERRED;
6713
6714
6715--
6716-- Name: c_site_deployment_id_2dc763428bdc2781_fk_core_sitedeployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6717--
6718
6719ALTER TABLE ONLY core_node
6720 ADD CONSTRAINT c_site_deployment_id_2dc763428bdc2781_fk_core_sitedeployment_id FOREIGN KEY (site_deployment_id) REFERENCES core_sitedeployment(id) DEFERRABLE INITIALLY DEFERRED;
6721
6722
6723--
6724-- Name: co_slice_privilege_id_21402f4f2399079_fk_core_sliceprivilege_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6725--
6726
6727ALTER TABLE ONLY core_controllersliceprivilege
6728 ADD CONSTRAINT co_slice_privilege_id_21402f4f2399079_fk_core_sliceprivilege_id FOREIGN KEY (slice_privilege_id) REFERENCES core_sliceprivilege(id) DEFERRABLE INITIALLY DEFERRED;
6729
6730
6731--
6732-- Name: cor_site_privilege_id_41490e8c05c2e685_fk_core_siteprivilege_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6733--
6734
6735ALTER TABLE ONLY core_controllersiteprivilege
6736 ADD CONSTRAINT cor_site_privilege_id_41490e8c05c2e685_fk_core_siteprivilege_id FOREIGN KEY (site_privilege_id) REFERENCES core_siteprivilege(id) DEFERRABLE INITIALLY DEFERRED;
6737
6738
6739--
6740-- Name: cor_to_serviceclass_id_4e2748248647c43b_fk_core_serviceclass_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6741--
6742
6743ALTER TABLE ONLY "core_serviceclass_upgradeFrom"
6744 ADD CONSTRAINT cor_to_serviceclass_id_4e2748248647c43b_fk_core_serviceclass_id FOREIGN KEY (to_serviceclass_id) REFERENCES core_serviceclass(id) DEFERRABLE INITIALLY DEFERRED;
6745
6746
6747--
6748-- Name: core__reservationset_id_395058233c59a671_fk_core_reservation_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6749--
6750
6751ALTER TABLE ONLY core_reservedresource
6752 ADD CONSTRAINT core__reservationset_id_395058233c59a671_fk_core_reservation_id FOREIGN KEY ("reservationSet_id") REFERENCES core_reservation(id) DEFERRABLE INITIALLY DEFERRED;
6753
6754
6755--
6756-- Name: core__subscriber_root_id_26f21610cb2711f9_fk_core_tenantroot_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6757--
6758
6759ALTER TABLE ONLY core_tenant
6760 ADD CONSTRAINT core__subscriber_root_id_26f21610cb2711f9_fk_core_tenantroot_id FOREIGN KEY (subscriber_root_id) REFERENCES core_tenantroot(id) DEFERRABLE INITIALLY DEFERRED;
6761
6762
6763--
6764-- Name: core__subscriber_service_id_5049d522dc2feae7_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6765--
6766
6767ALTER TABLE ONLY core_tenant
6768 ADD CONSTRAINT core__subscriber_service_id_5049d522dc2feae7_fk_core_service_id FOREIGN KEY (subscriber_service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
6769
6770
6771--
6772-- Name: core_account_site_id_7d8af010f408acb2_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6773--
6774
6775ALTER TABLE ONLY core_account
6776 ADD CONSTRAINT core_account_site_id_7d8af010f408acb2_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
6777
6778
6779--
6780-- Name: core_charge_account_id_277c66c32427fb_fk_core_account_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6781--
6782
6783ALTER TABLE ONLY core_charge
6784 ADD CONSTRAINT core_charge_account_id_277c66c32427fb_fk_core_account_id FOREIGN KEY (account_id) REFERENCES core_account(id) DEFERRABLE INITIALLY DEFERRED;
6785
6786
6787--
6788-- Name: core_charge_invoice_id_7af39adf58aad977_fk_core_invoice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6789--
6790
6791ALTER TABLE ONLY core_charge
6792 ADD CONSTRAINT core_charge_invoice_id_7af39adf58aad977_fk_core_invoice_id FOREIGN KEY (invoice_id) REFERENCES core_invoice(id) DEFERRABLE INITIALLY DEFERRED;
6793
6794
6795--
6796-- Name: core_charge_object_id_349f8834f1bf5ce6_fk_core_usableobject_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6797--
6798
6799ALTER TABLE ONLY core_charge
6800 ADD CONSTRAINT core_charge_object_id_349f8834f1bf5ce6_fk_core_usableobject_id FOREIGN KEY (object_id) REFERENCES core_usableobject(id) DEFERRABLE INITIALLY DEFERRED;
6801
6802
6803--
6804-- Name: core_charge_slice_id_5f33de3b320604f2_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6805--
6806
6807ALTER TABLE ONLY core_charge
6808 ADD CONSTRAINT core_charge_slice_id_5f33de3b320604f2_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
6809
6810
6811--
6812-- Name: core_content_type_id_150a10ada282bcf9_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6813--
6814
6815ALTER TABLE ONLY core_role
6816 ADD CONSTRAINT core_content_type_id_150a10ada282bcf9_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
6817
6818
6819--
6820-- Name: core_content_type_id_3cc30601489a3056_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6821--
6822
6823ALTER TABLE ONLY core_networkparameter
6824 ADD CONSTRAINT core_content_type_id_3cc30601489a3056_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
6825
6826
6827--
6828-- Name: core_content_type_id_413c7b5400f8ad9c_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6829--
6830
6831ALTER TABLE ONLY core_tag
6832 ADD CONSTRAINT core_content_type_id_413c7b5400f8ad9c_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
6833
6834
6835--
6836-- Name: core_contr_controller_id_11d29f7e2a4a5462_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6837--
6838
6839ALTER TABLE ONLY core_controllersiteprivilege
6840 ADD CONSTRAINT core_contr_controller_id_11d29f7e2a4a5462_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6841
6842
6843--
6844-- Name: core_contr_controller_id_1f82c3216437715f_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6845--
6846
6847ALTER TABLE ONLY core_controllerdashboardview
6848 ADD CONSTRAINT core_contr_controller_id_1f82c3216437715f_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6849
6850
6851--
6852-- Name: core_contr_controller_id_46178c1d21384e5e_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6853--
6854
6855ALTER TABLE ONLY core_controllersite
6856 ADD CONSTRAINT core_contr_controller_id_46178c1d21384e5e_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6857
6858
6859--
6860-- Name: core_contr_controller_id_4fb982de67c3b742_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6861--
6862
6863ALTER TABLE ONLY core_controllersliceprivilege
6864 ADD CONSTRAINT core_contr_controller_id_4fb982de67c3b742_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6865
6866
6867--
6868-- Name: core_contr_controller_id_5cd05d37bbdf1d96_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6869--
6870
6871ALTER TABLE ONLY core_controlleruser
6872 ADD CONSTRAINT core_contr_controller_id_5cd05d37bbdf1d96_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6873
6874
6875--
6876-- Name: core_contr_controller_id_60b467e792b15198_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6877--
6878
6879ALTER TABLE ONLY core_controllernetwork
6880 ADD CONSTRAINT core_contr_controller_id_60b467e792b15198_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6881
6882
6883--
6884-- Name: core_contr_controller_id_7095bdbd27f73f56_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6885--
6886
6887ALTER TABLE ONLY core_controllerslice
6888 ADD CONSTRAINT core_contr_controller_id_7095bdbd27f73f56_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6889
6890
6891--
6892-- Name: core_contr_deployment_id_772a055c58b6e43a_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6893--
6894
6895ALTER TABLE ONLY core_controller
6896 ADD CONSTRAINT core_contr_deployment_id_772a055c58b6e43a_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
6897
6898
6899--
6900-- Name: core_contro_controller_id_5906172a2f34d3a_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6901--
6902
6903ALTER TABLE ONLY core_controllercredential
6904 ADD CONSTRAINT core_contro_controller_id_5906172a2f34d3a_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6905
6906
6907--
6908-- Name: core_contro_controller_id_6d1311b7cc69cd7_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6909--
6910
6911ALTER TABLE ONLY core_controllerimages
6912 ADD CONSTRAINT core_contro_controller_id_6d1311b7cc69cd7_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
6913
6914
6915--
6916-- Name: core_controllerimage_image_id_5713221a6b077f6b_fk_core_image_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6917--
6918
6919ALTER TABLE ONLY core_controllerimages
6920 ADD CONSTRAINT core_controllerimage_image_id_5713221a6b077f6b_fk_core_image_id FOREIGN KEY (image_id) REFERENCES core_image(id) DEFERRABLE INITIALLY DEFERRED;
6921
6922
6923--
6924-- Name: core_controllern_network_id_3fe7748f6851d06f_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6925--
6926
6927ALTER TABLE ONLY core_controllernetwork
6928 ADD CONSTRAINT core_controllern_network_id_3fe7748f6851d06f_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
6929
6930
6931--
6932-- Name: core_controllersite_site_id_4fa87f0734a60665_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6933--
6934
6935ALTER TABLE ONLY core_controllersite
6936 ADD CONSTRAINT core_controllersite_site_id_4fa87f0734a60665_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
6937
6938
6939--
6940-- Name: core_controllerslice_slice_id_7005d287c601356b_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6941--
6942
6943ALTER TABLE ONLY core_controllerslice
6944 ADD CONSTRAINT core_controllerslice_slice_id_7005d287c601356b_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
6945
6946
6947--
6948-- Name: core_controlleruser_user_id_60dc3a7220b1005b_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6949--
6950
6951ALTER TABLE ONLY core_controlleruser
6952 ADD CONSTRAINT core_controlleruser_user_id_60dc3a7220b1005b_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
6953
6954
6955--
6956-- Name: core_dashbo_deployment_id_8b902dfc7ab128b_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6957--
6958
6959ALTER TABLE ONLY core_dashboardview_deployments
6960 ADD CONSTRAINT core_dashbo_deployment_id_8b902dfc7ab128b_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
6961
6962
6963--
6964-- Name: core_dashboardview_id_1241776e11825a15_fk_core_dashboardview_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6965--
6966
6967ALTER TABLE ONLY core_controllerdashboardview
6968 ADD CONSTRAINT core_dashboardview_id_1241776e11825a15_fk_core_dashboardview_id FOREIGN KEY ("dashboardView_id") REFERENCES core_dashboardview(id) DEFERRABLE INITIALLY DEFERRED;
6969
6970
6971--
6972-- Name: core_dashboardview_id_623d5d799346e0f8_fk_core_dashboardview_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6973--
6974
6975ALTER TABLE ONLY core_dashboardview_deployments
6976 ADD CONSTRAINT core_dashboardview_id_623d5d799346e0f8_fk_core_dashboardview_id FOREIGN KEY (dashboardview_id) REFERENCES core_dashboardview(id) DEFERRABLE INITIALLY DEFERRED;
6977
6978
6979--
6980-- Name: core_dashboardview_id_7d9723f531eefdde_fk_core_dashboardview_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6981--
6982
6983ALTER TABLE ONLY core_userdashboardview
6984 ADD CONSTRAINT core_dashboardview_id_7d9723f531eefdde_fk_core_dashboardview_id FOREIGN KEY ("dashboardView_id") REFERENCES core_dashboardview(id) DEFERRABLE INITIALLY DEFERRED;
6985
6986
6987--
6988-- Name: core_deplo_deployment_id_4606c90fff2e5ecf_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6989--
6990
6991ALTER TABLE ONLY core_deploymentprivilege
6992 ADD CONSTRAINT core_deplo_deployment_id_4606c90fff2e5ecf_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
6993
6994
6995--
6996-- Name: core_deploym_role_id_221f61258b29e608_fk_core_deploymentrole_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
6997--
6998
6999ALTER TABLE ONLY core_deploymentprivilege
7000 ADD CONSTRAINT core_deploym_role_id_221f61258b29e608_fk_core_deploymentrole_id FOREIGN KEY (role_id) REFERENCES core_deploymentrole(id) DEFERRABLE INITIALLY DEFERRED;
7001
7002
7003--
7004-- Name: core_deploymentprivile_user_id_2ac00d41376e2a8d_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7005--
7006
7007ALTER TABLE ONLY core_deploymentprivilege
7008 ADD CONSTRAINT core_deploymentprivile_user_id_2ac00d41376e2a8d_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7009
7010
7011--
7012-- Name: core_flavo_deployment_id_33af1c761c0497e3_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7013--
7014
7015ALTER TABLE ONLY core_flavor_deployments
7016 ADD CONSTRAINT core_flavo_deployment_id_33af1c761c0497e3_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
7017
7018
7019--
7020-- Name: core_flavor_deploy_flavor_id_3e598722be0b3446_fk_core_flavor_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7021--
7022
7023ALTER TABLE ONLY core_flavor_deployments
7024 ADD CONSTRAINT core_flavor_deploy_flavor_id_3e598722be0b3446_fk_core_flavor_id FOREIGN KEY (flavor_id) REFERENCES core_flavor(id) DEFERRABLE INITIALLY DEFERRED;
7025
7026
7027--
7028-- Name: core_image_deployment_id_31772dfdcf4b80eb_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7029--
7030
7031ALTER TABLE ONLY core_imagedeployments
7032 ADD CONSTRAINT core_image_deployment_id_31772dfdcf4b80eb_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
7033
7034
7035--
7036-- Name: core_imagedeployment_image_id_4a6df22c06603b40_fk_core_image_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7037--
7038
7039ALTER TABLE ONLY core_imagedeployments
7040 ADD CONSTRAINT core_imagedeployment_image_id_4a6df22c06603b40_fk_core_image_id FOREIGN KEY (image_id) REFERENCES core_image(id) DEFERRABLE INITIALLY DEFERRED;
7041
7042
7043--
7044-- Name: core_insta_deployment_id_111e2cdd025ec8ef_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7045--
7046
7047ALTER TABLE ONLY core_instance
7048 ADD CONSTRAINT core_insta_deployment_id_111e2cdd025ec8ef_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
7049
7050
7051--
7052-- Name: core_instance_creator_id_66a7e8c819d15b29_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7053--
7054
7055ALTER TABLE ONLY core_instance
7056 ADD CONSTRAINT core_instance_creator_id_66a7e8c819d15b29_fk_core_user_id FOREIGN KEY (creator_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7057
7058
7059--
7060-- Name: core_instance_flavor_id_61bc3198a5673218_fk_core_flavor_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7061--
7062
7063ALTER TABLE ONLY core_instance
7064 ADD CONSTRAINT core_instance_flavor_id_61bc3198a5673218_fk_core_flavor_id FOREIGN KEY (flavor_id) REFERENCES core_flavor(id) DEFERRABLE INITIALLY DEFERRED;
7065
7066
7067--
7068-- Name: core_instance_image_id_5c8c96fe9a61802c_fk_core_image_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7069--
7070
7071ALTER TABLE ONLY core_instance
7072 ADD CONSTRAINT core_instance_image_id_5c8c96fe9a61802c_fk_core_image_id FOREIGN KEY (image_id) REFERENCES core_image(id) DEFERRABLE INITIALLY DEFERRED;
7073
7074
7075--
7076-- Name: core_instance_node_id_ae899cb7a62df9a_fk_core_node_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7077--
7078
7079ALTER TABLE ONLY core_instance
7080 ADD CONSTRAINT core_instance_node_id_ae899cb7a62df9a_fk_core_node_id FOREIGN KEY (node_id) REFERENCES core_node(id) DEFERRABLE INITIALLY DEFERRED;
7081
7082
7083--
7084-- Name: core_instance_slice_id_2ddcfe06a9e4c985_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7085--
7086
7087ALTER TABLE ONLY core_instance
7088 ADD CONSTRAINT core_instance_slice_id_2ddcfe06a9e4c985_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7089
7090
7091--
7092-- Name: core_invoice_account_id_7802a49ab0cec433_fk_core_account_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7093--
7094
7095ALTER TABLE ONLY core_invoice
7096 ADD CONSTRAINT core_invoice_account_id_7802a49ab0cec433_fk_core_account_id FOREIGN KEY (account_id) REFERENCES core_account(id) DEFERRABLE INITIALLY DEFERRED;
7097
7098
7099--
7100-- Name: core_ne_template_id_7268a8d58aa4008e_fk_core_networktemplate_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7101--
7102
7103ALTER TABLE ONLY core_network
7104 ADD CONSTRAINT core_ne_template_id_7268a8d58aa4008e_fk_core_networktemplate_id FOREIGN KEY (template_id) REFERENCES core_networktemplate(id) DEFERRABLE INITIALLY DEFERRED;
7105
7106
7107--
7108-- Name: core_network_owner_id_1b5a720eac1f1d6c_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7109--
7110
7111ALTER TABLE ONLY core_network
7112 ADD CONSTRAINT core_network_owner_id_1b5a720eac1f1d6c_fk_core_slice_id FOREIGN KEY (owner_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7113
7114
7115--
7116-- Name: core_network_perm_network_id_79f8a18a0197dd1_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7117--
7118
7119ALTER TABLE ONLY core_network_permitted_slices
7120 ADD CONSTRAINT core_network_perm_network_id_79f8a18a0197dd1_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
7121
7122
7123--
7124-- Name: core_network_permitt_slice_id_7d7e6e1a0b962f45_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7125--
7126
7127ALTER TABLE ONLY core_network_permitted_slices
7128 ADD CONSTRAINT core_network_permitt_slice_id_7d7e6e1a0b962f45_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7129
7130
7131--
7132-- Name: core_networkslic_network_id_2823f40a154bc2e6_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7133--
7134
7135ALTER TABLE ONLY core_networkslice
7136 ADD CONSTRAINT core_networkslic_network_id_2823f40a154bc2e6_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
7137
7138
7139--
7140-- Name: core_networkslice_slice_id_801f34a8ab285a0_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7141--
7142
7143ALTER TABLE ONLY core_networkslice
7144 ADD CONSTRAINT core_networkslice_slice_id_801f34a8ab285a0_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7145
7146
7147--
7148-- Name: core_node_site_id_28bac05ef1a512ce_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7149--
7150
7151ALTER TABLE ONLY core_node
7152 ADD CONSTRAINT core_node_site_id_28bac05ef1a512ce_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7153
7154
7155--
7156-- Name: core_payment_account_id_3cc9ae7e7b925002_fk_core_account_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7157--
7158
7159ALTER TABLE ONLY core_payment
7160 ADD CONSTRAINT core_payment_account_id_3cc9ae7e7b925002_fk_core_account_id FOREIGN KEY (account_id) REFERENCES core_account(id) DEFERRABLE INITIALLY DEFERRED;
7161
7162
7163--
7164-- Name: core_port_instance_id_5bdb1ae59ca1dc73_fk_core_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7165--
7166
7167ALTER TABLE ONLY core_port
7168 ADD CONSTRAINT core_port_instance_id_5bdb1ae59ca1dc73_fk_core_instance_id FOREIGN KEY (instance_id) REFERENCES core_instance(id) DEFERRABLE INITIALLY DEFERRED;
7169
7170
7171--
7172-- Name: core_port_network_id_655a9dc4ef32f845_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7173--
7174
7175ALTER TABLE ONLY core_port
7176 ADD CONSTRAINT core_port_network_id_655a9dc4ef32f845_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
7177
7178
7179--
7180-- Name: core_program_owner_id_491cb2182952268e_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7181--
7182
7183ALTER TABLE ONLY core_program
7184 ADD CONSTRAINT core_program_owner_id_491cb2182952268e_fk_core_user_id FOREIGN KEY (owner_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7185
7186
7187--
7188-- Name: core_re_resource_id_1126f44e743a899d_fk_core_serviceresource_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7189--
7190
7191ALTER TABLE ONLY core_reservedresource
7192 ADD CONSTRAINT core_re_resource_id_1126f44e743a899d_fk_core_serviceresource_id FOREIGN KEY (resource_id) REFERENCES core_serviceresource(id) DEFERRABLE INITIALLY DEFERRED;
7193
7194
7195--
7196-- Name: core_reservation_slice_id_4df07726653daed_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7197--
7198
7199ALTER TABLE ONLY core_reservation
7200 ADD CONSTRAINT core_reservation_slice_id_4df07726653daed_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7201
7202
7203--
7204-- Name: core_reservedr_instance_id_626caea355f5195e_fk_core_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7205--
7206
7207ALTER TABLE ONLY core_reservedresource
7208 ADD CONSTRAINT core_reservedr_instance_id_626caea355f5195e_fk_core_instance_id FOREIGN KEY (instance_id) REFERENCES core_instance(id) DEFERRABLE INITIALLY DEFERRED;
7209
7210
7211--
7212-- Name: core_router_netw_network_id_12bc59c5ca78fdc0_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7213--
7214
7215ALTER TABLE ONLY core_router_networks
7216 ADD CONSTRAINT core_router_netw_network_id_12bc59c5ca78fdc0_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
7217
7218
7219--
7220-- Name: core_router_networ_router_id_3cf4f94bd7970e88_fk_core_router_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7221--
7222
7223ALTER TABLE ONLY core_router_networks
7224 ADD CONSTRAINT core_router_networ_router_id_3cf4f94bd7970e88_fk_core_router_id FOREIGN KEY (router_id) REFERENCES core_router(id) DEFERRABLE INITIALLY DEFERRED;
7225
7226
7227--
7228-- Name: core_router_owner_id_13c4ac38c56512c6_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7229--
7230
7231ALTER TABLE ONLY core_router
7232 ADD CONSTRAINT core_router_owner_id_13c4ac38c56512c6_fk_core_slice_id FOREIGN KEY (owner_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7233
7234
7235--
7236-- Name: core_router_permi_network_id_8ee54284c93cd43_fk_core_network_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7237--
7238
7239ALTER TABLE ONLY "core_router_permittedNetworks"
7240 ADD CONSTRAINT core_router_permi_network_id_8ee54284c93cd43_fk_core_network_id FOREIGN KEY (network_id) REFERENCES core_network(id) DEFERRABLE INITIALLY DEFERRED;
7241
7242
7243--
7244-- Name: core_router_permit_router_id_3506769cdaf40bb5_fk_core_router_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7245--
7246
7247ALTER TABLE ONLY "core_router_permittedNetworks"
7248 ADD CONSTRAINT core_router_permit_router_id_3506769cdaf40bb5_fk_core_router_id FOREIGN KEY (router_id) REFERENCES core_router(id) DEFERRABLE INITIALLY DEFERRED;
7249
7250
7251--
7252-- Name: core_s_serviceclass_id_7fa5b55190a88c84_fk_core_serviceclass_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7253--
7254
7255ALTER TABLE ONLY core_serviceresource
7256 ADD CONSTRAINT core_s_serviceclass_id_7fa5b55190a88c84_fk_core_serviceclass_id FOREIGN KEY ("serviceClass_id") REFERENCES core_serviceclass(id) DEFERRABLE INITIALLY DEFERRED;
7257
7258
7259--
7260-- Name: core_serviceattr_service_id_5dd88bdc4a289e9e_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7261--
7262
7263ALTER TABLE ONLY core_serviceattribute
7264 ADD CONSTRAINT core_serviceattr_service_id_5dd88bdc4a289e9e_fk_core_service_id FOREIGN KEY (service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7265
7266
7267--
7268-- Name: core_servicepri_role_id_2516e31051d592b9_fk_core_servicerole_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7269--
7270
7271ALTER TABLE ONLY core_serviceprivilege
7272 ADD CONSTRAINT core_servicepri_role_id_2516e31051d592b9_fk_core_servicerole_id FOREIGN KEY (role_id) REFERENCES core_servicerole(id) DEFERRABLE INITIALLY DEFERRED;
7273
7274
7275--
7276-- Name: core_servicepriv_service_id_326f2584a82884fb_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7277--
7278
7279ALTER TABLE ONLY core_serviceprivilege
7280 ADD CONSTRAINT core_servicepriv_service_id_326f2584a82884fb_fk_core_service_id FOREIGN KEY (service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7281
7282
7283--
7284-- Name: core_serviceprivilege_user_id_5e78485b5063e04_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7285--
7286
7287ALTER TABLE ONLY core_serviceprivilege
7288 ADD CONSTRAINT core_serviceprivilege_user_id_5e78485b5063e04_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7289
7290
7291--
7292-- Name: core_sitecredential_site_id_2ede808de256b5ca_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7293--
7294
7295ALTER TABLE ONLY core_sitecredential
7296 ADD CONSTRAINT core_sitecredential_site_id_2ede808de256b5ca_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7297
7298
7299--
7300-- Name: core_sited_controller_id_30291acda546cff3_fk_core_controller_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7301--
7302
7303ALTER TABLE ONLY core_sitedeployment
7304 ADD CONSTRAINT core_sited_controller_id_30291acda546cff3_fk_core_controller_id FOREIGN KEY (controller_id) REFERENCES core_controller(id) DEFERRABLE INITIALLY DEFERRED;
7305
7306
7307--
7308-- Name: core_sited_deployment_id_2073c8bc2ac33aee_fk_core_deployment_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7309--
7310
7311ALTER TABLE ONLY core_sitedeployment
7312 ADD CONSTRAINT core_sited_deployment_id_2073c8bc2ac33aee_fk_core_deployment_id FOREIGN KEY (deployment_id) REFERENCES core_deployment(id) DEFERRABLE INITIALLY DEFERRED;
7313
7314
7315--
7316-- Name: core_sitedeployment_site_id_10d760d1d81e2090_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7317--
7318
7319ALTER TABLE ONLY core_sitedeployment
7320 ADD CONSTRAINT core_sitedeployment_site_id_10d760d1d81e2090_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7321
7322
7323--
7324-- Name: core_siteprivilege_role_id_71e5069ae809cb06_fk_core_siterole_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7325--
7326
7327ALTER TABLE ONLY core_siteprivilege
7328 ADD CONSTRAINT core_siteprivilege_role_id_71e5069ae809cb06_fk_core_siterole_id FOREIGN KEY (role_id) REFERENCES core_siterole(id) DEFERRABLE INITIALLY DEFERRED;
7329
7330
7331--
7332-- Name: core_siteprivilege_site_id_33ec92307c1cb3bd_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7333--
7334
7335ALTER TABLE ONLY core_siteprivilege
7336 ADD CONSTRAINT core_siteprivilege_site_id_33ec92307c1cb3bd_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7337
7338
7339--
7340-- Name: core_siteprivilege_user_id_4a58c40e58eea8c5_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7341--
7342
7343ALTER TABLE ONLY core_siteprivilege
7344 ADD CONSTRAINT core_siteprivilege_user_id_4a58c40e58eea8c5_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7345
7346
7347--
7348-- Name: core_sl_serviceclass_id_77da7f94b58488b_fk_core_serviceclass_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7349--
7350
7351ALTER TABLE ONLY core_slice
7352 ADD CONSTRAINT core_sl_serviceclass_id_77da7f94b58488b_fk_core_serviceclass_id FOREIGN KEY ("serviceClass_id") REFERENCES core_serviceclass(id) DEFERRABLE INITIALLY DEFERRED;
7353
7354
7355--
7356-- Name: core_slice_creator_id_7c5fa82797e0d281_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7357--
7358
7359ALTER TABLE ONLY core_slice
7360 ADD CONSTRAINT core_slice_creator_id_7c5fa82797e0d281_fk_core_user_id FOREIGN KEY (creator_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7361
7362
7363--
7364-- Name: core_slice_default_flavor_id_7e9b60d7e92ce276_fk_core_flavor_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7365--
7366
7367ALTER TABLE ONLY core_slice
7368 ADD CONSTRAINT core_slice_default_flavor_id_7e9b60d7e92ce276_fk_core_flavor_id FOREIGN KEY (default_flavor_id) REFERENCES core_flavor(id) DEFERRABLE INITIALLY DEFERRED;
7369
7370
7371--
7372-- Name: core_slice_default_image_id_4cc5967fffec96da_fk_core_image_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7373--
7374
7375ALTER TABLE ONLY core_slice
7376 ADD CONSTRAINT core_slice_default_image_id_4cc5967fffec96da_fk_core_image_id FOREIGN KEY (default_image_id) REFERENCES core_image(id) DEFERRABLE INITIALLY DEFERRED;
7377
7378
7379--
7380-- Name: core_slice_service_id_56ec7a0b3401bf7c_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7381--
7382
7383ALTER TABLE ONLY core_slice
7384 ADD CONSTRAINT core_slice_service_id_56ec7a0b3401bf7c_fk_core_service_id FOREIGN KEY (service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7385
7386
7387--
7388-- Name: core_slice_site_id_13fe089488dd45_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7389--
7390
7391ALTER TABLE ONLY core_slice
7392 ADD CONSTRAINT core_slice_site_id_13fe089488dd45_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7393
7394
7395--
7396-- Name: core_slicecredential_slice_id_1c79ffce7dd61f3c_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7397--
7398
7399ALTER TABLE ONLY core_slicecredential
7400 ADD CONSTRAINT core_slicecredential_slice_id_1c79ffce7dd61f3c_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7401
7402
7403--
7404-- Name: core_sliceprivile_role_id_1d55e0b0ac43107a_fk_core_slicerole_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7405--
7406
7407ALTER TABLE ONLY core_sliceprivilege
7408 ADD CONSTRAINT core_sliceprivile_role_id_1d55e0b0ac43107a_fk_core_slicerole_id FOREIGN KEY (role_id) REFERENCES core_slicerole(id) DEFERRABLE INITIALLY DEFERRED;
7409
7410
7411--
7412-- Name: core_sliceprivilege_slice_id_3fbaadbffeb24835_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7413--
7414
7415ALTER TABLE ONLY core_sliceprivilege
7416 ADD CONSTRAINT core_sliceprivilege_slice_id_3fbaadbffeb24835_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7417
7418
7419--
7420-- Name: core_sliceprivilege_user_id_253eeb2ddef0e745_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7421--
7422
7423ALTER TABLE ONLY core_sliceprivilege
7424 ADD CONSTRAINT core_sliceprivilege_user_id_253eeb2ddef0e745_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7425
7426
7427--
7428-- Name: core_slicetag_slice_id_75dfa2524457256_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7429--
7430
7431ALTER TABLE ONLY core_slicetag
7432 ADD CONSTRAINT core_slicetag_slice_id_75dfa2524457256_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7433
7434
7435--
7436-- Name: core_tag_service_id_5e53fc9f784e1c0_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7437--
7438
7439ALTER TABLE ONLY core_tag
7440 ADD CONSTRAINT core_tag_service_id_5e53fc9f784e1c0_fk_core_service_id FOREIGN KEY (service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7441
7442
7443--
7444-- Name: core_te_provider_service_id_6f2ead723387396a_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7445--
7446
7447ALTER TABLE ONLY core_tenant
7448 ADD CONSTRAINT core_te_provider_service_id_6f2ead723387396a_fk_core_service_id FOREIGN KEY (provider_service_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7449
7450
7451--
7452-- Name: core_te_subscriber_tenant_id_5c45dc20d190aa0f_fk_core_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7453--
7454
7455ALTER TABLE ONLY core_tenant
7456 ADD CONSTRAINT core_te_subscriber_tenant_id_5c45dc20d190aa0f_fk_core_tenant_id FOREIGN KEY (subscriber_tenant_id) REFERENCES core_tenant(id) DEFERRABLE INITIALLY DEFERRED;
7457
7458
7459--
7460-- Name: core_tena_tenant_root_id_27d6362f903728d9_fk_core_tenantroot_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7461--
7462
7463ALTER TABLE ONLY core_tenantrootprivilege
7464 ADD CONSTRAINT core_tena_tenant_root_id_27d6362f903728d9_fk_core_tenantroot_id FOREIGN KEY (tenant_root_id) REFERENCES core_tenantroot(id) DEFERRABLE INITIALLY DEFERRED;
7465
7466
7467--
7468-- Name: core_tenant_subscriber_user_id_2fad15bb074ed3d6_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7469--
7470
7471ALTER TABLE ONLY core_tenant
7472 ADD CONSTRAINT core_tenant_subscriber_user_id_2fad15bb074ed3d6_fk_core_user_id FOREIGN KEY (subscriber_user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7473
7474
7475--
7476-- Name: core_tenantro_role_id_56bfa65de5fb299_fk_core_tenantrootrole_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7477--
7478
7479ALTER TABLE ONLY core_tenantrootprivilege
7480 ADD CONSTRAINT core_tenantro_role_id_56bfa65de5fb299_fk_core_tenantrootrole_id FOREIGN KEY (role_id) REFERENCES core_tenantrootrole(id) DEFERRABLE INITIALLY DEFERRED;
7481
7482
7483--
7484-- Name: core_tenantrootprivile_user_id_77f85e71ff279b56_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7485--
7486
7487ALTER TABLE ONLY core_tenantrootprivilege
7488 ADD CONSTRAINT core_tenantrootprivile_user_id_77f85e71ff279b56_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7489
7490
7491--
7492-- Name: core_user_site_id_3cc7d076f7b58a7_fk_core_site_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7493--
7494
7495ALTER TABLE ONLY core_user
7496 ADD CONSTRAINT core_user_site_id_3cc7d076f7b58a7_fk_core_site_id FOREIGN KEY (site_id) REFERENCES core_site(id) DEFERRABLE INITIALLY DEFERRED;
7497
7498
7499--
7500-- Name: core_usercredential_user_id_2db1046eae94c01a_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7501--
7502
7503ALTER TABLE ONLY core_usercredential
7504 ADD CONSTRAINT core_usercredential_user_id_2db1046eae94c01a_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7505
7506
7507--
7508-- Name: core_userdashboardview_user_id_66fac29b72c1b321_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7509--
7510
7511ALTER TABLE ONLY core_userdashboardview
7512 ADD CONSTRAINT core_userdashboardview_user_id_66fac29b72c1b321_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7513
7514
7515--
7516-- Name: d9aeae61481f9ccd18f57c7b51a38461; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7517--
7518
7519ALTER TABLE ONLY hpc_sitemap
7520 ADD CONSTRAINT d9aeae61481f9ccd18f57c7b51a38461 FOREIGN KEY ("hpcService_id") REFERENCES hpc_hpcservice(service_ptr_id) DEFERRABLE INITIALLY DEFERRED;
7521
7522
7523--
7524-- Name: defaultoriginserver_id_3cb657d79e69f1e9_fk_hpc_originserver_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7525--
7526
7527ALTER TABLE ONLY hpc_cdnprefix
7528 ADD CONSTRAINT defaultoriginserver_id_3cb657d79e69f1e9_fk_hpc_originserver_id FOREIGN KEY ("defaultOriginServer_id") REFERENCES hpc_originserver(id) DEFERRABLE INITIALLY DEFERRED;
7529
7530
7531--
7532-- Name: djan_content_type_id_697914295151027a_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7533--
7534
7535ALTER TABLE ONLY django_admin_log
7536 ADD CONSTRAINT djan_content_type_id_697914295151027a_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
7537
7538
7539--
7540-- Name: django_admin_log_user_id_52fdd58701c5f563_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7541--
7542
7543ALTER TABLE ONLY django_admin_log
7544 ADD CONSTRAINT django_admin_log_user_id_52fdd58701c5f563_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7545
7546
7547--
7548-- Name: ea3ce8ae9fc3a320680647cef82b1a56; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7549--
7550
7551ALTER TABLE ONLY hpc_serviceprovider
7552 ADD CONSTRAINT ea3ce8ae9fc3a320680647cef82b1a56 FOREIGN KEY ("hpcService_id") REFERENCES hpc_hpcservice(service_ptr_id) DEFERRABLE INITIALLY DEFERRED;
7553
7554
7555--
7556-- Name: h_contentprovider_id_1420a46480bb1aff_fk_hpc_contentprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7557--
7558
7559ALTER TABLE ONLY hpc_contentprovider_users
7560 ADD CONSTRAINT h_contentprovider_id_1420a46480bb1aff_fk_hpc_contentprovider_id FOREIGN KEY (contentprovider_id) REFERENCES hpc_contentprovider(id) DEFERRABLE INITIALLY DEFERRED;
7561
7562
7563--
7564-- Name: h_contentprovider_id_2f27d5fdbb2459c8_fk_hpc_contentprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7565--
7566
7567ALTER TABLE ONLY hpc_originserver
7568 ADD CONSTRAINT h_contentprovider_id_2f27d5fdbb2459c8_fk_hpc_contentprovider_id FOREIGN KEY ("contentProvider_id") REFERENCES hpc_contentprovider(id) DEFERRABLE INITIALLY DEFERRED;
7569
7570
7571--
7572-- Name: h_contentprovider_id_63639a8e6ca8e2cd_fk_hpc_contentprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7573--
7574
7575ALTER TABLE ONLY hpc_cdnprefix
7576 ADD CONSTRAINT h_contentprovider_id_63639a8e6ca8e2cd_fk_hpc_contentprovider_id FOREIGN KEY ("contentProvider_id") REFERENCES hpc_contentprovider(id) DEFERRABLE INITIALLY DEFERRED;
7577
7578
7579--
7580-- Name: h_contentprovider_id_7acf72f284b3b30e_fk_hpc_contentprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7581--
7582
7583ALTER TABLE ONLY hpc_accessmap
7584 ADD CONSTRAINT h_contentprovider_id_7acf72f284b3b30e_fk_hpc_contentprovider_id FOREIGN KEY ("contentProvider_id") REFERENCES hpc_contentprovider(id) DEFERRABLE INITIALLY DEFERRED;
7585
7586
7587--
7588-- Name: h_serviceprovider_id_1b9fb41a73ac1b6a_fk_hpc_serviceprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7589--
7590
7591ALTER TABLE ONLY hpc_contentprovider
7592 ADD CONSTRAINT h_serviceprovider_id_1b9fb41a73ac1b6a_fk_hpc_serviceprovider_id FOREIGN KEY ("serviceProvider_id") REFERENCES hpc_serviceprovider(id) DEFERRABLE INITIALLY DEFERRED;
7593
7594
7595--
7596-- Name: h_serviceprovider_id_788bfbe86c90f205_fk_hpc_serviceprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7597--
7598
7599ALTER TABLE ONLY hpc_sitemap
7600 ADD CONSTRAINT h_serviceprovider_id_788bfbe86c90f205_fk_hpc_serviceprovider_id FOREIGN KEY ("serviceProvider_id") REFERENCES hpc_serviceprovider(id) DEFERRABLE INITIALLY DEFERRED;
7601
7602
7603--
7604-- Name: hp_contentprovider_id_2a37a8e8bee9c03_fk_hpc_contentprovider_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7605--
7606
7607ALTER TABLE ONLY hpc_sitemap
7608 ADD CONSTRAINT hp_contentprovider_id_2a37a8e8bee9c03_fk_hpc_contentprovider_id FOREIGN KEY ("contentProvider_id") REFERENCES hpc_contentprovider(id) DEFERRABLE INITIALLY DEFERRED;
7609
7610
7611--
7612-- Name: hpc_contentprovider_us_user_id_480a7cd783fecf37_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7613--
7614
7615ALTER TABLE ONLY hpc_contentprovider_users
7616 ADD CONSTRAINT hpc_contentprovider_us_user_id_480a7cd783fecf37_fk_core_user_id FOREIGN KEY (user_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7617
7618
7619--
7620-- Name: hpc_hpcservi_service_ptr_id_1b2f328c77b1554d_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7621--
7622
7623ALTER TABLE ONLY hpc_hpcservice
7624 ADD CONSTRAINT hpc_hpcservi_service_ptr_id_1b2f328c77b1554d_fk_core_service_id FOREIGN KEY (service_ptr_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7625
7626
7627--
7628-- Name: hpc_sitemap_cdnprefix_id_3c0b2f75c5a9a81e_fk_hpc_cdnprefix_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7629--
7630
7631ALTER TABLE ONLY hpc_sitemap
7632 ADD CONSTRAINT hpc_sitemap_cdnprefix_id_3c0b2f75c5a9a81e_fk_hpc_cdnprefix_id FOREIGN KEY ("cdnPrefix_id") REFERENCES hpc_cdnprefix(id) DEFERRABLE INITIALLY DEFERRED;
7633
7634
7635--
7636-- Name: requestroute_service_ptr_id_479451a78740d081_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7637--
7638
7639ALTER TABLE ONLY requestrouter_requestrouterservice
7640 ADD CONSTRAINT requestroute_service_ptr_id_479451a78740d081_fk_core_service_id FOREIGN KEY (service_ptr_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7641
7642
7643--
7644-- Name: requestrouter_serv_owner_id_5c71a9586041d2bc_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7645--
7646
7647ALTER TABLE ONLY requestrouter_servicemap
7648 ADD CONSTRAINT requestrouter_serv_owner_id_5c71a9586041d2bc_fk_core_service_id FOREIGN KEY (owner_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7649
7650
7651--
7652-- Name: requestrouter_servic_slice_id_50e57057a561f22f_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7653--
7654
7655ALTER TABLE ONLY requestrouter_servicemap
7656 ADD CONSTRAINT requestrouter_servic_slice_id_50e57057a561f22f_fk_core_slice_id FOREIGN KEY (slice_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7657
7658
7659--
7660-- Name: sy_volume_id_id_7dd16c76bfd7b129_fk_syndicate_storage_volume_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7661--
7662
7663ALTER TABLE ONLY syndicate_storage_volumeslice
7664 ADD CONSTRAINT sy_volume_id_id_7dd16c76bfd7b129_fk_syndicate_storage_volume_id FOREIGN KEY (volume_id_id) REFERENCES syndicate_storage_volume(id) DEFERRABLE INITIALLY DEFERRED;
7665
7666
7667--
7668-- Name: syndi_volume_id_3718f5b02d2245ce_fk_syndicate_storage_volume_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7669--
7670
7671ALTER TABLE ONLY syndicate_storage_volumeaccessright
7672 ADD CONSTRAINT syndi_volume_id_3718f5b02d2245ce_fk_syndicate_storage_volume_id FOREIGN KEY (volume_id) REFERENCES syndicate_storage_volume(id) DEFERRABLE INITIALLY DEFERRED;
7673
7674
7675--
7676-- Name: syndicate_st_service_ptr_id_26ca3aeabed50b6d_fk_core_service_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7677--
7678
7679ALTER TABLE ONLY syndicate_storage_syndicateservice
7680 ADD CONSTRAINT syndicate_st_service_ptr_id_26ca3aeabed50b6d_fk_core_service_id FOREIGN KEY (service_ptr_id) REFERENCES core_service(id) DEFERRABLE INITIALLY DEFERRED;
7681
7682
7683--
7684-- Name: syndicate_storage__owner_id_id_3d3e3d492d6cd6b5_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7685--
7686
7687ALTER TABLE ONLY syndicate_storage_volumeaccessright
7688 ADD CONSTRAINT syndicate_storage__owner_id_id_3d3e3d492d6cd6b5_fk_core_user_id FOREIGN KEY (owner_id_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7689
7690
7691--
7692-- Name: syndicate_storage__owner_id_id_7a99f36bf51f2c78_fk_core_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7693--
7694
7695ALTER TABLE ONLY syndicate_storage_volume
7696 ADD CONSTRAINT syndicate_storage__owner_id_id_7a99f36bf51f2c78_fk_core_user_id FOREIGN KEY (owner_id_id) REFERENCES core_user(id) DEFERRABLE INITIALLY DEFERRED;
7697
7698
7699--
7700-- Name: syndicate_storage_slice_id_id_1c80c36535559ad6_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7701--
7702
7703ALTER TABLE ONLY syndicate_storage_slicesecret
7704 ADD CONSTRAINT syndicate_storage_slice_id_id_1c80c36535559ad6_fk_core_slice_id FOREIGN KEY (slice_id_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7705
7706
7707--
7708-- Name: syndicate_storage_slice_id_id_36fa39a9ae458538_fk_core_slice_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
7709--
7710
7711ALTER TABLE ONLY syndicate_storage_volumeslice
7712 ADD CONSTRAINT syndicate_storage_slice_id_id_36fa39a9ae458538_fk_core_slice_id FOREIGN KEY (slice_id_id) REFERENCES core_slice(id) DEFERRABLE INITIALLY DEFERRED;
7713
7714
7715--
7716-- Name: public; Type: ACL; Schema: -; Owner: postgres
7717--
7718
7719REVOKE ALL ON SCHEMA public FROM PUBLIC;
7720REVOKE ALL ON SCHEMA public FROM postgres;
7721GRANT ALL ON SCHEMA public TO postgres;
7722GRANT ALL ON SCHEMA public TO PUBLIC;
7723
7724
7725--
7726-- PostgreSQL database dump complete
7727--
7728