You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
342 B
SQL
9 lines
342 B
SQL
CREATE TABLE IF NOT EXISTS af_blob_metadata (
|
|
workspace_id UUID REFERENCES af_workspace(workspace_id) ON DELETE CASCADE NOT NULL,
|
|
file_id VARCHAR NOT NULL,
|
|
file_type VARCHAR NOT NULL,
|
|
file_size BIGINT NOT NULL,
|
|
modified_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
UNIQUE (workspace_id, file_id)
|
|
);
|