feat: add blob to publish
This commit is contained in:
parent
94bd62869c
commit
7a8be1585f
|
|
@ -4,6 +4,7 @@ CREATE TABLE IF NOT EXISTS af_published_collab (
|
||||||
published_by BIGINT NOT NULL REFERENCES af_user(uid) ON DELETE CASCADE,
|
published_by BIGINT NOT NULL REFERENCES af_user(uid) ON DELETE CASCADE,
|
||||||
workspace_id UUID NOT NULL REFERENCES af_workspace(workspace_id) ON DELETE CASCADE,
|
workspace_id UUID NOT NULL REFERENCES af_workspace(workspace_id) ON DELETE CASCADE,
|
||||||
metadata JSONB NOT NULL,
|
metadata JSONB NOT NULL,
|
||||||
|
blob BYTEA NOT NULL DEFAULT '',
|
||||||
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
||||||
updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue