Skip to content

Commit

Permalink
if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkrick committed Aug 7, 2024
1 parent 9da8ca7 commit 4adee78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export async function up() {
const client = new Client(getPgConfig())
await client.connect()
await client.query(`
CREATE TABLE "Insight" (
CREATE TABLE IF NOT EXISTS "Insight" (
"id" SERIAL PRIMARY KEY,
"teamId" VARCHAR(100) NOT NULL,
"startDateTime" TIMESTAMP WITH TIME ZONE NOT NULL,
Expand Down

0 comments on commit 4adee78

Please sign in to comment.