mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
14 lines
324 B
SQL
14 lines
324 B
SQL
CREATE TABLE hdb_catalog.hdb_query_collection
|
|
(
|
|
collection_name TEXT PRIMARY KEY,
|
|
collection_defn JSONB NOT NULL,
|
|
comment TEXT NULL,
|
|
is_system_defined boolean default false
|
|
);
|
|
|
|
CREATE TABLE hdb_catalog.hdb_allowlist
|
|
(
|
|
collection_name TEXT UNIQUE
|
|
REFERENCES hdb_catalog.hdb_query_collection(collection_name)
|
|
);
|