forked from mtusi2026/mtusi2026lab7
lab7
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE attachments ADD COLUMN IF NOT EXISTS variants jsonb NOT NULL DEFAULT '[]';
|
||||
ALTER TABLE attachments ADD COLUMN IF NOT EXISTS error_code text;
|
||||
CREATE TABLE IF NOT EXISTS jobs (
|
||||
id uuid PRIMARY KEY, attachment_id uuid UNIQUE NOT NULL REFERENCES attachments(id),
|
||||
attempt integer NOT NULL DEFAULT 1, created_at timestamptz NOT NULL DEFAULT now(),
|
||||
published boolean NOT NULL DEFAULT false
|
||||
);
|
||||
Reference in New Issue
Block a user