2 -- Name: testing_base_a; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
5 CREATE TABLE testing_base_a (
8 create_date timestamp without time zone,
9 write_date timestamp without time zone,
11 a1 character varying(8) NOT NULL,
12 a2 character varying(8) NOT NULL,
13 name character varying(8) NOT NULL
17 ALTER TABLE public.testing_base_a OWNER TO openerp;
20 -- Name: TABLE testing_base_a; Type: COMMENT; Schema: public; Owner: openerp
23 COMMENT ON TABLE testing_base_a IS 'BaseA';
27 -- Name: COLUMN testing_base_a.a1; Type: COMMENT; Schema: public; Owner: openerp
30 COMMENT ON COLUMN testing_base_a.a1 IS 'A1';
34 -- Name: COLUMN testing_base_a.a2; Type: COMMENT; Schema: public; Owner: openerp
37 COMMENT ON COLUMN testing_base_a.a2 IS 'A2';
41 -- Name: COLUMN testing_base_a.name; Type: COMMENT; Schema: public; Owner: openerp
44 COMMENT ON COLUMN testing_base_a.name IS 'name';
48 -- Name: testing_base_a_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
51 CREATE SEQUENCE testing_base_a_id_seq
59 ALTER TABLE public.testing_base_a_id_seq OWNER TO openerp;
62 -- Name: testing_base_a_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
65 ALTER SEQUENCE testing_base_a_id_seq OWNED BY testing_base_a.id;
69 -- Name: testing_base_b; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
72 CREATE TABLE testing_base_b (
75 create_date timestamp without time zone,
76 write_date timestamp without time zone,
78 name character varying(8) NOT NULL,
79 b2 character varying(8) NOT NULL,
80 b1 character varying(8) NOT NULL
84 ALTER TABLE public.testing_base_b OWNER TO openerp;
87 -- Name: TABLE testing_base_b; Type: COMMENT; Schema: public; Owner: openerp
90 COMMENT ON TABLE testing_base_b IS 'BaseB';
94 -- Name: COLUMN testing_base_b.name; Type: COMMENT; Schema: public; Owner: openerp
97 COMMENT ON COLUMN testing_base_b.name IS 'name';
101 -- Name: COLUMN testing_base_b.b2; Type: COMMENT; Schema: public; Owner: openerp
104 COMMENT ON COLUMN testing_base_b.b2 IS 'B2';
108 -- Name: COLUMN testing_base_b.b1; Type: COMMENT; Schema: public; Owner: openerp
111 COMMENT ON COLUMN testing_base_b.b1 IS 'B1';
115 -- Name: testing_base_b_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
118 CREATE SEQUENCE testing_base_b_id_seq
126 ALTER TABLE public.testing_base_b_id_seq OWNER TO openerp;
129 -- Name: testing_base_b_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
132 ALTER SEQUENCE testing_base_b_id_seq OWNED BY testing_base_b.id;
136 -- Name: testing_base_c; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
139 CREATE TABLE testing_base_c (
142 create_date timestamp without time zone,
143 write_date timestamp without time zone,
145 c3 character varying(8) NOT NULL,
146 c2 character varying(8) NOT NULL,
147 c1 character varying(8) NOT NULL,
148 name character varying(8) NOT NULL
152 ALTER TABLE public.testing_base_c OWNER TO openerp;
155 -- Name: TABLE testing_base_c; Type: COMMENT; Schema: public; Owner: openerp
158 COMMENT ON TABLE testing_base_c IS 'ClassInheritance';
162 -- Name: COLUMN testing_base_c.c3; Type: COMMENT; Schema: public; Owner: openerp
165 COMMENT ON COLUMN testing_base_c.c3 IS 'C3';
169 -- Name: COLUMN testing_base_c.c2; Type: COMMENT; Schema: public; Owner: openerp
172 COMMENT ON COLUMN testing_base_c.c2 IS 'C2';
176 -- Name: COLUMN testing_base_c.c1; Type: COMMENT; Schema: public; Owner: openerp
179 COMMENT ON COLUMN testing_base_c.c1 IS 'C1';
183 -- Name: COLUMN testing_base_c.name; Type: COMMENT; Schema: public; Owner: openerp
186 COMMENT ON COLUMN testing_base_c.name IS 'name';
190 -- Name: testing_base_c_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
193 CREATE SEQUENCE testing_base_c_id_seq
201 ALTER TABLE public.testing_base_c_id_seq OWNER TO openerp;
204 -- Name: testing_base_c_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
207 ALTER SEQUENCE testing_base_c_id_seq OWNED BY testing_base_c.id;
211 -- Name: testing_base_d; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
214 CREATE TABLE testing_base_d (
217 create_date timestamp without time zone,
218 write_date timestamp without time zone,
220 d2 character varying(8) NOT NULL,
221 name character varying(8) NOT NULL,
222 d1 character varying(8) NOT NULL
226 ALTER TABLE public.testing_base_d OWNER TO openerp;
229 -- Name: TABLE testing_base_d; Type: COMMENT; Schema: public; Owner: openerp
232 COMMENT ON TABLE testing_base_d IS 'BaseD';
236 -- Name: COLUMN testing_base_d.d2; Type: COMMENT; Schema: public; Owner: openerp
239 COMMENT ON COLUMN testing_base_d.d2 IS 'D2';
243 -- Name: COLUMN testing_base_d.name; Type: COMMENT; Schema: public; Owner: openerp
246 COMMENT ON COLUMN testing_base_d.name IS 'name';
250 -- Name: COLUMN testing_base_d.d1; Type: COMMENT; Schema: public; Owner: openerp
253 COMMENT ON COLUMN testing_base_d.d1 IS 'D1';
257 -- Name: testing_base_d_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
260 CREATE SEQUENCE testing_base_d_id_seq
268 ALTER TABLE public.testing_base_d_id_seq OWNER TO openerp;
271 -- Name: testing_base_d_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
274 ALTER SEQUENCE testing_base_d_id_seq OWNED BY testing_base_d.id;
278 -- Name: testing_inheritance_delegation1; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
281 CREATE TABLE testing_inheritance_delegation1 (
284 create_date timestamp without time zone,
285 write_date timestamp without time zone,
287 a1 character varying(8) NOT NULL,
288 a3 character varying(8) NOT NULL,
289 name character varying(8) NOT NULL,
290 custom_base_a_id integer NOT NULL
294 ALTER TABLE public.testing_inheritance_delegation1 OWNER TO openerp;
297 -- Name: TABLE testing_inheritance_delegation1; Type: COMMENT; Schema: public; Owner: openerp
300 COMMENT ON TABLE testing_inheritance_delegation1 IS 'DelegationInheritance1';
304 -- Name: COLUMN testing_inheritance_delegation1.a1; Type: COMMENT; Schema: public; Owner: openerp
307 COMMENT ON COLUMN testing_inheritance_delegation1.a1 IS 'A1';
311 -- Name: COLUMN testing_inheritance_delegation1.a3; Type: COMMENT; Schema: public; Owner: openerp
314 COMMENT ON COLUMN testing_inheritance_delegation1.a3 IS 'A3';
318 -- Name: COLUMN testing_inheritance_delegation1.name; Type: COMMENT; Schema: public; Owner: openerp
321 COMMENT ON COLUMN testing_inheritance_delegation1.name IS 'name';
325 -- Name: COLUMN testing_inheritance_delegation1.custom_base_a_id; Type: COMMENT; Schema: public; Owner: openerp
328 COMMENT ON COLUMN testing_inheritance_delegation1.custom_base_a_id IS 'Automatically created field to link to parent testing.base.a';
332 -- Name: testing_inheritance_delegation1_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
335 CREATE SEQUENCE testing_inheritance_delegation1_id_seq
343 ALTER TABLE public.testing_inheritance_delegation1_id_seq OWNER TO openerp;
346 -- Name: testing_inheritance_delegation1_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
349 ALTER SEQUENCE testing_inheritance_delegation1_id_seq OWNED BY testing_inheritance_delegation1.id;
353 -- Name: testing_inheritance_delegation2; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
356 CREATE TABLE testing_inheritance_delegation2 (
359 create_date timestamp without time zone,
360 write_date timestamp without time zone,
362 custom_base_a_id integer NOT NULL,
363 a1 character varying(8) NOT NULL,
364 a3 character varying(8) NOT NULL,
365 b1 character varying(8) NOT NULL,
366 b3 character varying(8) NOT NULL,
367 "custom_base_B_id" integer NOT NULL,
368 name character varying(8) NOT NULL
372 ALTER TABLE public.testing_inheritance_delegation2 OWNER TO openerp;
375 -- Name: TABLE testing_inheritance_delegation2; Type: COMMENT; Schema: public; Owner: openerp
378 COMMENT ON TABLE testing_inheritance_delegation2 IS 'DelegationInheritance2';
382 -- Name: COLUMN testing_inheritance_delegation2.custom_base_a_id; Type: COMMENT; Schema: public; Owner: openerp
385 COMMENT ON COLUMN testing_inheritance_delegation2.custom_base_a_id IS 'Automatically created field to link to parent testing.base.a';
389 -- Name: COLUMN testing_inheritance_delegation2.a1; Type: COMMENT; Schema: public; Owner: openerp
392 COMMENT ON COLUMN testing_inheritance_delegation2.a1 IS 'A1';
396 -- Name: COLUMN testing_inheritance_delegation2.a3; Type: COMMENT; Schema: public; Owner: openerp
399 COMMENT ON COLUMN testing_inheritance_delegation2.a3 IS 'A3';
403 -- Name: COLUMN testing_inheritance_delegation2.b1; Type: COMMENT; Schema: public; Owner: openerp
406 COMMENT ON COLUMN testing_inheritance_delegation2.b1 IS 'B1';
410 -- Name: COLUMN testing_inheritance_delegation2.b3; Type: COMMENT; Schema: public; Owner: openerp
413 COMMENT ON COLUMN testing_inheritance_delegation2.b3 IS 'B3';
417 -- Name: COLUMN testing_inheritance_delegation2."custom_base_B_id"; Type: COMMENT; Schema: public; Owner: openerp
420 COMMENT ON COLUMN testing_inheritance_delegation2."custom_base_B_id" IS 'Automatically created field to link to parent testing.base.b';
424 -- Name: COLUMN testing_inheritance_delegation2.name; Type: COMMENT; Schema: public; Owner: openerp
427 COMMENT ON COLUMN testing_inheritance_delegation2.name IS 'name';
431 -- Name: testing_inheritance_delegation2_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
434 CREATE SEQUENCE testing_inheritance_delegation2_id_seq
442 ALTER TABLE public.testing_inheritance_delegation2_id_seq OWNER TO openerp;
445 -- Name: testing_inheritance_delegation2_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
448 ALTER SEQUENCE testing_inheritance_delegation2_id_seq OWNED BY testing_inheritance_delegation2.id;
452 -- Name: testing_inheritance_delegation3; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
455 CREATE TABLE testing_inheritance_delegation3 (
458 create_date timestamp without time zone,
459 write_date timestamp without time zone,
461 a1 character varying(8) NOT NULL,
462 a3 character varying(8) NOT NULL,
463 name character varying(8) NOT NULL,
464 custom_base_a_id integer NOT NULL
468 ALTER TABLE public.testing_inheritance_delegation3 OWNER TO openerp;
471 -- Name: TABLE testing_inheritance_delegation3; Type: COMMENT; Schema: public; Owner: openerp
474 COMMENT ON TABLE testing_inheritance_delegation3 IS 'DelegationInheritance3';
478 -- Name: COLUMN testing_inheritance_delegation3.a1; Type: COMMENT; Schema: public; Owner: openerp
481 COMMENT ON COLUMN testing_inheritance_delegation3.a1 IS 'A1';
485 -- Name: COLUMN testing_inheritance_delegation3.a3; Type: COMMENT; Schema: public; Owner: openerp
488 COMMENT ON COLUMN testing_inheritance_delegation3.a3 IS 'A3';
492 -- Name: COLUMN testing_inheritance_delegation3.name; Type: COMMENT; Schema: public; Owner: openerp
495 COMMENT ON COLUMN testing_inheritance_delegation3.name IS 'name';
499 -- Name: COLUMN testing_inheritance_delegation3.custom_base_a_id; Type: COMMENT; Schema: public; Owner: openerp
502 COMMENT ON COLUMN testing_inheritance_delegation3.custom_base_a_id IS 'Base A';
506 -- Name: testing_inheritance_delegation3_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
509 CREATE SEQUENCE testing_inheritance_delegation3_id_seq
517 ALTER TABLE public.testing_inheritance_delegation3_id_seq OWNER TO openerp;
520 -- Name: testing_inheritance_delegation3_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
523 ALTER SEQUENCE testing_inheritance_delegation3_id_seq OWNED BY testing_inheritance_delegation3.id;
527 -- Name: testing_inheritance_delegation4; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
530 CREATE TABLE testing_inheritance_delegation4 (
533 create_date timestamp without time zone,
534 write_date timestamp without time zone,
536 a1 character varying(8) NOT NULL,
537 a3 character varying(8) NOT NULL,
538 name character varying(8) NOT NULL,
539 b3 character varying(8) NOT NULL,
540 custom_base_b_id integer NOT NULL,
541 custom_base_a_id integer NOT NULL,
542 b1 character varying(8) NOT NULL
546 ALTER TABLE public.testing_inheritance_delegation4 OWNER TO openerp;
549 -- Name: TABLE testing_inheritance_delegation4; Type: COMMENT; Schema: public; Owner: openerp
552 COMMENT ON TABLE testing_inheritance_delegation4 IS 'DelegationInheritance4';
556 -- Name: COLUMN testing_inheritance_delegation4.a1; Type: COMMENT; Schema: public; Owner: openerp
559 COMMENT ON COLUMN testing_inheritance_delegation4.a1 IS 'A1';
563 -- Name: COLUMN testing_inheritance_delegation4.a3; Type: COMMENT; Schema: public; Owner: openerp
566 COMMENT ON COLUMN testing_inheritance_delegation4.a3 IS 'A3';
570 -- Name: COLUMN testing_inheritance_delegation4.name; Type: COMMENT; Schema: public; Owner: openerp
573 COMMENT ON COLUMN testing_inheritance_delegation4.name IS 'name';
577 -- Name: COLUMN testing_inheritance_delegation4.b3; Type: COMMENT; Schema: public; Owner: openerp
580 COMMENT ON COLUMN testing_inheritance_delegation4.b3 IS 'B3';
584 -- Name: COLUMN testing_inheritance_delegation4.custom_base_b_id; Type: COMMENT; Schema: public; Owner: openerp
587 COMMENT ON COLUMN testing_inheritance_delegation4.custom_base_b_id IS 'Base B';
591 -- Name: COLUMN testing_inheritance_delegation4.custom_base_a_id; Type: COMMENT; Schema: public; Owner: openerp
594 COMMENT ON COLUMN testing_inheritance_delegation4.custom_base_a_id IS 'Base A';
598 -- Name: COLUMN testing_inheritance_delegation4.b1; Type: COMMENT; Schema: public; Owner: openerp
601 COMMENT ON COLUMN testing_inheritance_delegation4.b1 IS 'B1';
605 -- Name: testing_inheritance_delegation4_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
608 CREATE SEQUENCE testing_inheritance_delegation4_id_seq
616 ALTER TABLE public.testing_inheritance_delegation4_id_seq OWNER TO openerp;
619 -- Name: testing_inheritance_delegation4_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
622 ALTER SEQUENCE testing_inheritance_delegation4_id_seq OWNED BY testing_inheritance_delegation4.id;
626 -- Name: testing_inheritance_prototype; Type: TABLE; Schema: public; Owner: openerp; Tablespace:
629 CREATE TABLE testing_inheritance_prototype (
632 create_date timestamp without time zone,
633 write_date timestamp without time zone,
635 d1 character varying(8) NOT NULL,
636 d2 character varying(8) NOT NULL,
637 name character varying(8) NOT NULL,
638 d3 character varying(8) NOT NULL
642 ALTER TABLE public.testing_inheritance_prototype OWNER TO openerp;
645 -- Name: TABLE testing_inheritance_prototype; Type: COMMENT; Schema: public; Owner: openerp
648 COMMENT ON TABLE testing_inheritance_prototype IS 'PrototypeInheritance';
652 -- Name: COLUMN testing_inheritance_prototype.d1; Type: COMMENT; Schema: public; Owner: openerp
655 COMMENT ON COLUMN testing_inheritance_prototype.d1 IS 'D1';
659 -- Name: COLUMN testing_inheritance_prototype.d2; Type: COMMENT; Schema: public; Owner: openerp
662 COMMENT ON COLUMN testing_inheritance_prototype.d2 IS 'D2';
666 -- Name: COLUMN testing_inheritance_prototype.name; Type: COMMENT; Schema: public; Owner: openerp
669 COMMENT ON COLUMN testing_inheritance_prototype.name IS 'name';
673 -- Name: COLUMN testing_inheritance_prototype.d3; Type: COMMENT; Schema: public; Owner: openerp
676 COMMENT ON COLUMN testing_inheritance_prototype.d3 IS 'D3';
680 -- Name: testing_inheritance_prototype_id_seq; Type: SEQUENCE; Schema: public; Owner: openerp
683 CREATE SEQUENCE testing_inheritance_prototype_id_seq
691 ALTER TABLE public.testing_inheritance_prototype_id_seq OWNER TO openerp;
694 -- Name: testing_inheritance_prototype_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: openerp
697 ALTER SEQUENCE testing_inheritance_prototype_id_seq OWNED BY testing_inheritance_prototype.id;
707 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
710 ALTER TABLE ONLY testing_base_a ALTER COLUMN id SET DEFAULT nextval('testing_base_a_id_seq'::regclass);
714 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
717 ALTER TABLE ONLY testing_base_b ALTER COLUMN id SET DEFAULT nextval('testing_base_b_id_seq'::regclass);
721 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
724 ALTER TABLE ONLY testing_base_c ALTER COLUMN id SET DEFAULT nextval('testing_base_c_id_seq'::regclass);
728 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
731 ALTER TABLE ONLY testing_base_d ALTER COLUMN id SET DEFAULT nextval('testing_base_d_id_seq'::regclass);
735 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
738 ALTER TABLE ONLY testing_inheritance_delegation1 ALTER COLUMN id SET DEFAULT nextval('testing_inheritance_delegation1_id_seq'::regclass);
742 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
745 ALTER TABLE ONLY testing_inheritance_delegation2 ALTER COLUMN id SET DEFAULT nextval('testing_inheritance_delegation2_id_seq'::regclass);
749 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
752 ALTER TABLE ONLY testing_inheritance_delegation3 ALTER COLUMN id SET DEFAULT nextval('testing_inheritance_delegation3_id_seq'::regclass);
756 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
759 ALTER TABLE ONLY testing_inheritance_delegation4 ALTER COLUMN id SET DEFAULT nextval('testing_inheritance_delegation4_id_seq'::regclass);
763 -- Name: id; Type: DEFAULT; Schema: public; Owner: openerp
766 ALTER TABLE ONLY testing_inheritance_prototype ALTER COLUMN id SET DEFAULT nextval('testing_inheritance_prototype_id_seq'::regclass);
778 -- Data for Name: testing_base_a; Type: TABLE DATA; Schema: public; Owner: openerp
781 COPY testing_base_a (id, create_uid, create_date, write_date, write_uid, a1, a2, name) FROM stdin;
786 -- Name: testing_base_a_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
789 SELECT pg_catalog.setval('testing_base_a_id_seq', 1, false);
793 -- Data for Name: testing_base_b; Type: TABLE DATA; Schema: public; Owner: openerp
796 COPY testing_base_b (id, create_uid, create_date, write_date, write_uid, name, b2, b1) FROM stdin;
801 -- Name: testing_base_b_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
804 SELECT pg_catalog.setval('testing_base_b_id_seq', 1, false);
808 -- Data for Name: testing_base_c; Type: TABLE DATA; Schema: public; Owner: openerp
811 COPY testing_base_c (id, create_uid, create_date, write_date, write_uid, c3, c2, c1, name) FROM stdin;
816 -- Name: testing_base_c_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
819 SELECT pg_catalog.setval('testing_base_c_id_seq', 1, false);
823 -- Data for Name: testing_base_d; Type: TABLE DATA; Schema: public; Owner: openerp
826 COPY testing_base_d (id, create_uid, create_date, write_date, write_uid, d2, name, d1) FROM stdin;
831 -- Name: testing_base_d_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
834 SELECT pg_catalog.setval('testing_base_d_id_seq', 1, false);
838 -- Data for Name: testing_inheritance_delegation1; Type: TABLE DATA; Schema: public; Owner: openerp
841 COPY testing_inheritance_delegation1 (id, create_uid, create_date, write_date, write_uid, a1, a3, name, custom_base_a_id) FROM stdin;
846 -- Name: testing_inheritance_delegation1_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
849 SELECT pg_catalog.setval('testing_inheritance_delegation1_id_seq', 1, false);
853 -- Data for Name: testing_inheritance_delegation2; Type: TABLE DATA; Schema: public; Owner: openerp
856 COPY testing_inheritance_delegation2 (id, create_uid, create_date, write_date, write_uid, custom_base_a_id, a1, a3, b1, b3, "custom_base_B_id", name) FROM stdin;
861 -- Name: testing_inheritance_delegation2_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
864 SELECT pg_catalog.setval('testing_inheritance_delegation2_id_seq', 1, false);
868 -- Data for Name: testing_inheritance_delegation3; Type: TABLE DATA; Schema: public; Owner: openerp
871 COPY testing_inheritance_delegation3 (id, create_uid, create_date, write_date, write_uid, a1, a3, name, custom_base_a_id) FROM stdin;
876 -- Name: testing_inheritance_delegation3_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
879 SELECT pg_catalog.setval('testing_inheritance_delegation3_id_seq', 1, false);
883 -- Data for Name: testing_inheritance_delegation4; Type: TABLE DATA; Schema: public; Owner: openerp
886 COPY testing_inheritance_delegation4 (id, create_uid, create_date, write_date, write_uid, a1, a3, name, b3, custom_base_b_id, custom_base_a_id, b1) FROM stdin;
891 -- Name: testing_inheritance_delegation4_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
894 SELECT pg_catalog.setval('testing_inheritance_delegation4_id_seq', 1, false);
898 -- Data for Name: testing_inheritance_prototype; Type: TABLE DATA; Schema: public; Owner: openerp
901 COPY testing_inheritance_prototype (id, create_uid, create_date, write_date, write_uid, d1, d2, name, d3) FROM stdin;
906 -- Name: testing_inheritance_prototype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: openerp
909 SELECT pg_catalog.setval('testing_inheritance_prototype_id_seq', 1, false);
921 -- Name: testing_base_a_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
924 ALTER TABLE ONLY testing_base_a
925 ADD CONSTRAINT testing_base_a_pkey PRIMARY KEY (id);
929 -- Name: testing_base_b_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
932 ALTER TABLE ONLY testing_base_b
933 ADD CONSTRAINT testing_base_b_pkey PRIMARY KEY (id);
937 -- Name: testing_base_c_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
940 ALTER TABLE ONLY testing_base_c
941 ADD CONSTRAINT testing_base_c_pkey PRIMARY KEY (id);
945 -- Name: testing_base_d_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
948 ALTER TABLE ONLY testing_base_d
949 ADD CONSTRAINT testing_base_d_pkey PRIMARY KEY (id);
953 -- Name: testing_inheritance_delegation1_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
956 ALTER TABLE ONLY testing_inheritance_delegation1
957 ADD CONSTRAINT testing_inheritance_delegation1_pkey PRIMARY KEY (id);
961 -- Name: testing_inheritance_delegation2_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
964 ALTER TABLE ONLY testing_inheritance_delegation2
965 ADD CONSTRAINT testing_inheritance_delegation2_pkey PRIMARY KEY (id);
969 -- Name: testing_inheritance_delegation3_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
972 ALTER TABLE ONLY testing_inheritance_delegation3
973 ADD CONSTRAINT testing_inheritance_delegation3_pkey PRIMARY KEY (id);
977 -- Name: testing_inheritance_delegation4_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
980 ALTER TABLE ONLY testing_inheritance_delegation4
981 ADD CONSTRAINT testing_inheritance_delegation4_pkey PRIMARY KEY (id);
985 -- Name: testing_inheritance_prototype_pkey; Type: CONSTRAINT; Schema: public; Owner: openerp; Tablespace:
988 ALTER TABLE ONLY testing_inheritance_prototype
989 ADD CONSTRAINT testing_inheritance_prototype_pkey PRIMARY KEY (id);
1001 -- Name: testing_base_a_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1004 ALTER TABLE ONLY testing_base_a
1005 ADD CONSTRAINT testing_base_a_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1009 -- Name: testing_base_a_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1012 ALTER TABLE ONLY testing_base_a
1013 ADD CONSTRAINT testing_base_a_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1017 -- Name: testing_base_b_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1020 ALTER TABLE ONLY testing_base_b
1021 ADD CONSTRAINT testing_base_b_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1025 -- Name: testing_base_b_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1028 ALTER TABLE ONLY testing_base_b
1029 ADD CONSTRAINT testing_base_b_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1033 -- Name: testing_base_c_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1036 ALTER TABLE ONLY testing_base_c
1037 ADD CONSTRAINT testing_base_c_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1041 -- Name: testing_base_c_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1044 ALTER TABLE ONLY testing_base_c
1045 ADD CONSTRAINT testing_base_c_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1049 -- Name: testing_base_d_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1052 ALTER TABLE ONLY testing_base_d
1053 ADD CONSTRAINT testing_base_d_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1057 -- Name: testing_base_d_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1060 ALTER TABLE ONLY testing_base_d
1061 ADD CONSTRAINT testing_base_d_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1065 -- Name: testing_inheritance_delegation1_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1068 ALTER TABLE ONLY testing_inheritance_delegation1
1069 ADD CONSTRAINT testing_inheritance_delegation1_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1073 -- Name: testing_inheritance_delegation1_custom_base_a_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1076 ALTER TABLE ONLY testing_inheritance_delegation1
1077 ADD CONSTRAINT testing_inheritance_delegation1_custom_base_a_id_fkey FOREIGN KEY (custom_base_a_id) REFERENCES testing_base_a(id) ON DELETE CASCADE;
1081 -- Name: testing_inheritance_delegation1_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1084 ALTER TABLE ONLY testing_inheritance_delegation1
1085 ADD CONSTRAINT testing_inheritance_delegation1_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1089 -- Name: testing_inheritance_delegation2_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1092 ALTER TABLE ONLY testing_inheritance_delegation2
1093 ADD CONSTRAINT testing_inheritance_delegation2_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1097 -- Name: testing_inheritance_delegation2_custom_base_B_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1100 ALTER TABLE ONLY testing_inheritance_delegation2
1101 ADD CONSTRAINT "testing_inheritance_delegation2_custom_base_B_id_fkey" FOREIGN KEY ("custom_base_B_id") REFERENCES testing_base_b(id) ON DELETE CASCADE;
1105 -- Name: testing_inheritance_delegation2_custom_base_a_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1108 ALTER TABLE ONLY testing_inheritance_delegation2
1109 ADD CONSTRAINT testing_inheritance_delegation2_custom_base_a_id_fkey FOREIGN KEY (custom_base_a_id) REFERENCES testing_base_a(id) ON DELETE CASCADE;
1113 -- Name: testing_inheritance_delegation2_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1116 ALTER TABLE ONLY testing_inheritance_delegation2
1117 ADD CONSTRAINT testing_inheritance_delegation2_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1121 -- Name: testing_inheritance_delegation3_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1124 ALTER TABLE ONLY testing_inheritance_delegation3
1125 ADD CONSTRAINT testing_inheritance_delegation3_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1129 -- Name: testing_inheritance_delegation3_custom_base_a_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1132 ALTER TABLE ONLY testing_inheritance_delegation3
1133 ADD CONSTRAINT testing_inheritance_delegation3_custom_base_a_id_fkey FOREIGN KEY (custom_base_a_id) REFERENCES testing_base_a(id) ON DELETE CASCADE;
1137 -- Name: testing_inheritance_delegation3_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1140 ALTER TABLE ONLY testing_inheritance_delegation3
1141 ADD CONSTRAINT testing_inheritance_delegation3_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1145 -- Name: testing_inheritance_delegation4_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1148 ALTER TABLE ONLY testing_inheritance_delegation4
1149 ADD CONSTRAINT testing_inheritance_delegation4_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1153 -- Name: testing_inheritance_delegation4_custom_base_a_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1156 ALTER TABLE ONLY testing_inheritance_delegation4
1157 ADD CONSTRAINT testing_inheritance_delegation4_custom_base_a_id_fkey FOREIGN KEY (custom_base_a_id) REFERENCES testing_base_a(id) ON DELETE CASCADE;
1161 -- Name: testing_inheritance_delegation4_custom_base_b_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1164 ALTER TABLE ONLY testing_inheritance_delegation4
1165 ADD CONSTRAINT testing_inheritance_delegation4_custom_base_b_id_fkey FOREIGN KEY (custom_base_b_id) REFERENCES testing_base_b(id) ON DELETE CASCADE;
1169 -- Name: testing_inheritance_delegation4_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1172 ALTER TABLE ONLY testing_inheritance_delegation4
1173 ADD CONSTRAINT testing_inheritance_delegation4_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1177 -- Name: testing_inheritance_prototype_create_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1180 ALTER TABLE ONLY testing_inheritance_prototype
1181 ADD CONSTRAINT testing_inheritance_prototype_create_uid_fkey FOREIGN KEY (create_uid) REFERENCES res_users(id) ON DELETE SET NULL;
1185 -- Name: testing_inheritance_prototype_write_uid_fkey; Type: FK CONSTRAINT; Schema: public; Owner: openerp
1188 ALTER TABLE ONLY testing_inheritance_prototype
1189 ADD CONSTRAINT testing_inheritance_prototype_write_uid_fkey FOREIGN KEY (write_uid) REFERENCES res_users(id) ON DELETE SET NULL;