diff --git a/deepwell/migrations/20220906103252_deepwell.sql b/deepwell/migrations/20220906103252_deepwell.sql index 423eef789ea..ff229d4d4e5 100644 --- a/deepwell/migrations/20220906103252_deepwell.sql +++ b/deepwell/migrations/20220906103252_deepwell.sql @@ -419,8 +419,8 @@ CREATE TABLE page_vote ( CREATE TABLE blob_pending ( pending_file_id BIGSERIAL PRIMARY KEY, created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), - s3_path TEXT NOT NULL CHECK length(s3_path) > 1, - presign_url TEXT NOT NULL CHECK length(presign_url) > 1 + s3_path TEXT NOT NULL CHECK (length(s3_path) > 1), + presign_url TEXT NOT NULL CHECK (length(presign_url) > 1) ); --