refactor(db): make metadata in data.files not nullable
This commit is contained in:
parent
effcd2c073
commit
153020b9c7
@ -304,7 +304,7 @@ CREATE TABLE data.files (
|
|||||||
mime_id smallint NOT NULL,
|
mime_id smallint NOT NULL,
|
||||||
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 NOT NULL,
|
||||||
creator_id smallint NOT NULL,
|
creator_id smallint NOT NULL,
|
||||||
is_deleted boolean DEFAULT false NOT NULL
|
is_deleted boolean DEFAULT false NOT NULL
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user