Skip to content

Commit 52bfe1f

Browse files
committed
Pr Feedback; remove IF NOT EXISTS from adding collector_name column
1 parent a094fa3 commit 52bfe1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/src/pool/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static MIGRATIONS: &[&str] = &[
368368
// to use as we do not expose the `collector_id` in the code
369369
r#"
370370
ALTER TABLE job_queue DROP CONSTRAINT IF EXISTS job_queue_collector;
371-
ALTER TABLE job_queue ADD COLUMN IF NOT EXISTS collector_name TEXT;
371+
ALTER TABLE job_queue ADD COLUMN collector_name TEXT;
372372
ALTER TABLE job_queue
373373
ADD CONSTRAINT job_queue_collector
374374
FOREIGN KEY (collector_name)

0 commit comments

Comments
 (0)