File tree Expand file tree Collapse file tree
packages/meta/db-meta-schema/deploy/schemas/collections_public/tables Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ CREATE TABLE collections_public.field (
5454 min float default null ,
5555 max float default null ,
5656
57+ tags citext[] NOT NULL DEFAULT ' {}' ,
58+
5759 --
5860 CONSTRAINT db_fkey FOREIGN KEY (database_id) REFERENCES collections_public .database (id) ON DELETE CASCADE ,
5961 CONSTRAINT table_fkey FOREIGN KEY (table_id) REFERENCES collections_public .table (id) ON DELETE CASCADE ,
Original file line number Diff line number Diff line change 55
66BEGIN ;
77
8- CREATE TYPE collections_public .table_category AS ENUM (' system ' , ' module' , ' user ' );
8+ CREATE TYPE collections_public .table_category AS ENUM (' core ' , ' module' , ' app ' );
99
1010CREATE TABLE collections_public .table (
1111 id uuid PRIMARY KEY DEFAULT uuid_generate_v4 (),
@@ -20,7 +20,7 @@ CREATE TABLE collections_public.table (
2020
2121 smart_tags jsonb,
2222
23- category collections_public .table_category NOT NULL DEFAULT ' user ' ,
23+ category collections_public .table_category NOT NULL DEFAULT ' app ' ,
2424 module text NULL ,
2525 scope int NULL ,
2626
@@ -32,6 +32,8 @@ CREATE TABLE collections_public.table (
3232 plural_name text ,
3333 singular_name text ,
3434
35+ tags citext[] NOT NULL DEFAULT ' {}' ,
36+
3537 --
3638
3739 CONSTRAINT db_fkey FOREIGN KEY (database_id) REFERENCES collections_public .database (id) ON DELETE CASCADE ,
You can’t perform that action at this time.
0 commit comments