User.email and implementation

This commit is contained in:
2026-01-28 21:34:26 +00:00
parent d4cc50f289
commit c0e06ac8ba
12 changed files with 1220 additions and 19 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE "User" ADD COLUMN "email" varchar(255);--> statement-breakpoint
UPDATE "User" SET "email" = 'user_' || id || '@placeholder.local' WHERE "email" IS NULL;--> statement-breakpoint
ALTER TABLE "User" ALTER COLUMN "email" SET NOT NULL;--> statement-breakpoint
ALTER TABLE "User" ADD CONSTRAINT "User_email_unique" UNIQUE("email");

File diff suppressed because it is too large Load Diff

View File

@@ -190,6 +190,13 @@
"when": 1769615487574,
"tag": "0026_stale_shocker",
"breakpoints": true
},
{
"idx": 27,
"version": "7",
"when": 1769635016079,
"tag": "0027_volatile_otto_octavius",
"breakpoints": true
}
]
}