mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
9 lines
524 B
MySQL
9 lines
524 B
MySQL
|
ALTER TABLE hdb_catalog.hdb_relationship
|
||
|
DROP CONSTRAINT hdb_relationship_table_schema_fkey,
|
||
|
ADD CONSTRAINT hdb_relationship_table_schema_fkey FOREIGN KEY (table_schema, table_name) REFERENCES hdb_catalog.hdb_table(table_schema, table_name) ON UPDATE CASCADE;
|
||
|
|
||
|
|
||
|
ALTER TABLE hdb_catalog.hdb_permission
|
||
|
DROP CONSTRAINT hdb_permission_table_schema_fkey,
|
||
|
ADD CONSTRAINT hdb_permission_table_schema_fkey FOREIGN KEY (table_schema, table_name) REFERENCES hdb_catalog.hdb_table(table_schema, table_name) ON UPDATE CASCADE;
|