1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-20 22:11:45 +03:00
graphql-engine/server/src-rsr/clear_system_metadata.sql
Ajeet D'Souza a66fb42ce2 Make catalog metadata migrations work on all schema versions (fix ) ()
* Separate DB and metadata migrations
* Refactor Migrate.hs to generate list of migrations at compile-time
* Replace ginger with shakespeare to improve performance
* Improve migration log messages
2019-10-11 00:13:57 -05:00

6 lines
366 B
SQL

DELETE FROM hdb_catalog.hdb_function WHERE is_system_defined = 'true';
DELETE FROM hdb_catalog.hdb_permission WHERE is_system_defined = 'true';
DELETE FROM hdb_catalog.hdb_relationship WHERE is_system_defined = 'true';
DELETE FROM hdb_catalog.hdb_table WHERE is_system_defined = 'true';
DELETE FROM hdb_catalog.hdb_query_collection WHERE is_system_defined = 'true';