Compare commits

..

2 Commits

2 changed files with 213 additions and 211 deletions

View File

@ -305,7 +305,8 @@ CREATE TABLE data.files (
datetime timestamp with time zone DEFAULT clock_timestamp() NOT NULL, datetime timestamp with time zone DEFAULT clock_timestamp() NOT NULL,
notes text, notes text,
metadata jsonb, metadata jsonb,
creator_id smallint NOT NULL creator_id smallint NOT NULL,
is_deleted boolean DEFAULT false NOT NULL
); );

View File

@ -47,6 +47,7 @@ entity "data.files" as fle {
' * created_at : timestamptz <<generated>> ' * created_at : timestamptz <<generated>>
* creator_id : smallint * creator_id : smallint
' * is_private : boolean ' * is_private : boolean
* is_deleted : boolean
} }
fle::mime_id }o--|| mime::id fle::mime_id }o--|| mime::id