Skip to content

Commit 8d92c22

Browse files
committed
fixup! Fix pgcrypto bug in migration 59
1 parent 61941ed commit 8d92c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/migrations/000059_file_id.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ BEGIN;
1515
ALTER TABLE files DROP CONSTRAINT files_pkey;
1616

1717
-- This extension is required by gen_random_uuid
18-
CREATE EXTENSION pgcrypto;
18+
CREATE EXTENSION IF NOT EXISTS pgcrypto;
1919

2020
-- Add an 'id' column and designate it the primary key.
2121
ALTER TABLE files ADD COLUMN

0 commit comments

Comments
 (0)