2 Commits

Author SHA1 Message Date
H1K0 effcd2c073 feat(db): add is_deleted column to data.files 2025-07-03 19:00:55 +03:00
H1K0 78885b3656 docs(erd): add is_deleted column to data.files 2025-07-03 18:57:53 +03:00
2 changed files with 213 additions and 211 deletions
+2 -1
View File
@@ -305,7 +305,8 @@ CREATE TABLE data.files (
datetime timestamp with time zone DEFAULT clock_timestamp() NOT NULL,
notes text,
metadata jsonb,
creator_id smallint NOT NULL
creator_id smallint NOT NULL,
is_deleted boolean DEFAULT false NOT NULL
);
+1
View File
@@ -47,6 +47,7 @@ entity "data.files" as fle {
' * created_at : timestamptz <<generated>>
* creator_id : smallint
' * is_private : boolean
* is_deleted : boolean
}
fle::mime_id }o--|| mime::id