Skip to content

Commit

Permalink
Fix CHECK constraints.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Sep 20, 2024
1 parent 2a99341 commit df1c682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepwell/migrations/20220906103252_deepwell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);

--
Expand Down

0 comments on commit df1c682

Please sign in to comment.