feat: add blob to publish

This commit is contained in:
Zack Fu Zi Xiang 2024-06-15 12:00:59 +08:00
parent 94bd62869c
commit 7a8be1585f
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ CREATE TABLE IF NOT EXISTS af_published_collab (
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,
metadata JSONB NOT NULL,
blob BYTEA NOT NULL DEFAULT '',
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,