diff --git a/persistence/migrations/admindb/000010_authsrv_projectaccountresourcerole.up.sql b/persistence/migrations/admindb/000010_authsrv_projectaccountresourcerole.up.sql index e6a0352..544d947 100644 --- a/persistence/migrations/admindb/000010_authsrv_projectaccountresourcerole.up.sql +++ b/persistence/migrations/admindb/000010_authsrv_projectaccountresourcerole.up.sql @@ -32,10 +32,6 @@ CREATE INDEX authsrv_projectaccountresourcerole_project_id_f8a43852 ON authsrv_p CREATE INDEX authsrv_projectaccountresourcerole_role_id_a345b16f ON authsrv_projectaccountresourcerole USING btree (role_id); -ALTER TABLE ONLY authsrv_projectaccountresourcerole - ADD CONSTRAINT authsrv_projectaccou_account_id_532ce8df_fk_authsrv_a FOREIGN KEY (account_id) - REFERENCES identities(id) DEFERRABLE INITIALLY DEFERRED; - ALTER TABLE ONLY authsrv_projectaccountresourcerole ADD CONSTRAINT authsrv_projectaccou_organization_id_91c5602d_fk_authsrv_o FOREIGN KEY (organization_id) REFERENCES authsrv_organization(id) DEFERRABLE INITIALLY DEFERRED; diff --git a/persistence/migrations/admindb/000011_authsrv_projectaccountnamespacerole.up.sql b/persistence/migrations/admindb/000011_authsrv_projectaccountnamespacerole.up.sql index 3572aa8..daae2cd 100644 --- a/persistence/migrations/admindb/000011_authsrv_projectaccountnamespacerole.up.sql +++ b/persistence/migrations/admindb/000011_authsrv_projectaccountnamespacerole.up.sql @@ -32,10 +32,6 @@ CREATE INDEX authsrv_projectaccountnamespacerole_project_id_66e567ed ON authsrv_ CREATE INDEX authsrv_projectaccountnamespacerole_role_id_8a5411cc ON authsrv_projectaccountnamespacerole USING btree (role_id); -ALTER TABLE ONLY authsrv_projectaccountnamespacerole - ADD CONSTRAINT authsrv_projectaccou_account_id_4fac0ac2_fk_authsrv_a FOREIGN KEY (account_id) - REFERENCES identities(id) DEFERRABLE INITIALLY DEFERRED; - ALTER TABLE ONLY authsrv_projectaccountnamespacerole ADD CONSTRAINT authsrv_projectaccou_organization_id_96c921c9_fk_authsrv_o FOREIGN KEY (organization_id) REFERENCES authsrv_organization(id) DEFERRABLE INITIALLY DEFERRED; diff --git a/persistence/migrations/admindb/000014_authsrv_groupaccount.up.sql b/persistence/migrations/admindb/000014_authsrv_groupaccount.up.sql index 258a5b1..63b9365 100644 --- a/persistence/migrations/admindb/000014_authsrv_groupaccount.up.sql +++ b/persistence/migrations/admindb/000014_authsrv_groupaccount.up.sql @@ -22,10 +22,6 @@ CREATE INDEX authsrv_groupaccount_name_d17de056 ON authsrv_groupaccount USING bt CREATE INDEX authsrv_groupaccount_name_d17de056_like ON authsrv_groupaccount USING btree (name varchar_pattern_ops); -ALTER TABLE ONLY authsrv_groupaccount - ADD CONSTRAINT authsrv_groupaccount_account_id_041e4e98_fk_authsrv_account_id FOREIGN KEY (account_id) - REFERENCES identities(id) DEFERRABLE INITIALLY DEFERRED; - ALTER TABLE ONLY authsrv_groupaccount ADD CONSTRAINT authsrv_groupaccount_group_id_c67750ef_fk_authsrv_group_id FOREIGN KEY (group_id) REFERENCES authsrv_group(id) DEFERRABLE INITIALLY DEFERRED; diff --git a/persistence/migrations/admindb/000016_authsrv_accountresourcerole.up.sql b/persistence/migrations/admindb/000016_authsrv_accountresourcerole.up.sql index 523a7b1..d7e1cf3 100644 --- a/persistence/migrations/admindb/000016_authsrv_accountresourcerole.up.sql +++ b/persistence/migrations/admindb/000016_authsrv_accountresourcerole.up.sql @@ -29,10 +29,6 @@ CREATE INDEX authsrv_accountresourcerole_partner_id_8e96aff4 ON authsrv_accountr CREATE INDEX authsrv_accountresourcerole_role_id_769ec143 ON authsrv_accountresourcerole USING btree (role_id); -ALTER TABLE ONLY authsrv_accountresourcerole - ADD CONSTRAINT authsrv_accountresou_account_id_229069ae_fk_authsrv_a FOREIGN KEY (account_id) - REFERENCES identities(id) DEFERRABLE INITIALLY DEFERRED; - ALTER TABLE ONLY authsrv_accountresourcerole ADD CONSTRAINT authsrv_accountresou_organization_id_22bb772c_fk_authsrv_o FOREIGN KEY (organization_id) REFERENCES authsrv_organization(id) DEFERRABLE INITIALLY DEFERRED;