feat: update model

This commit is contained in:
Rogee
2024-12-04 15:37:00 +08:00
parent cdf8acf78f
commit 774f8644ab
5 changed files with 5 additions and 16 deletions

View File

@@ -87,7 +87,7 @@ CREATE TABLE
id SERIAL8 PRIMARY KEY,
media_id INT8 NOT NULL,
type VARCHAR(128) NOT NULL,
source jsonb default '{}'::jsonb,
source text NOT NULL default '',
size INT8 NOT NULL,
publish BOOL NOT NULL,
created_at timestamp NOT NULL default now(),