Skip to content

Commit 22f125a

Browse files
authored
Merge pull request #22 from techdiary-dev/series-article
feat(migrations): update user_socials and user_follows tables
2 parents c1b7fd2 + eed0c5a commit 22f125a

File tree

8 files changed

+1657
-5
lines changed

8 files changed

+1657
-5
lines changed

migrations/0028_redundant_landau.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "user_socials" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint
2+
ALTER TABLE "user_socials" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "user_follows" ALTER COLUMN "id" SET DATA TYPE uuid;--> statement-breakpoint
2+
ALTER TABLE "user_follows" ALTER COLUMN "id" SET DEFAULT gen_random_uuid();

0 commit comments

Comments
 (0)