Skip to content

Commit

Permalink
fix: if not exists on meetingsCount (#10386)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <[email protected]>
  • Loading branch information
mattkrick authored Oct 21, 2024
1 parent b7feeac commit fcf66d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export async function up() {
await client.connect()
await client.query(`
ALTER TABLE "Insight"
ADD COLUMN "meetingsCount" INTEGER NOT NULL DEFAULT 0;
ADD COLUMN IF NOT EXISTS "meetingsCount" INTEGER NOT NULL DEFAULT 0;
`)
await client.end()
}
Expand Down

0 comments on commit fcf66d7

Please sign in to comment.