Skip to content

Commit 9b8cbef

Browse files
author
Muhammad Luthfi Fahlevi
committed
feat: add migration sql to drop uuid column in users table
1 parent 7a2e267 commit 9b8cbef

File tree

4 files changed

+2
-0
lines changed

4 files changed

+2
-0
lines changed

internal/store/postgres/migrations/000020_add_constraint_email_unique.down.sql renamed to internal/store/postgres/migrations/000020_add_constraint_email_users_unique.down.sql

File renamed without changes.

internal/store/postgres/migrations/000020_add_constraint_email_unique.up.sql renamed to internal/store/postgres/migrations/000020_add_constraint_email_users_unique.up.sql

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE users ADD COLUMN IF NOT EXISTS uuid TEXT;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE users DROP COLUMN IF EXISTS uuid;

0 commit comments

Comments
 (0)