Skip to content

Commit 3702a61

Browse files
committed
fix(migrations): create contact notes table query
1 parent b01f6f8 commit 3702a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/migrations/v0.6.0.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func V0_6_0(db *sqlx.DB, fs stuffbin.FileSystem, ko *koanf.Koanf) error {
116116

117117
// Create contact notes table.
118118
_, err = db.Exec(`
119-
CREATE TABLE contact_notes (
119+
CREATE TABLE IF NOT EXISTS contact_notes (
120120
id SERIAL PRIMARY KEY,
121121
created_at TIMESTAMPTZ DEFAULT NOW(),
122122
updated_at TIMESTAMPTZ DEFAULT NOW(),

0 commit comments

Comments
 (0)