Add SQL migration for user table refactor: rename 'users' to 'user', update foreign key constraints, and add unique email constraint. Update journal and snapshot metadata for migration 0121_colorful_star_brand.

This commit is contained in:
Mauricio Siu
2025-11-08 13:57:05 -06:00
parent 2619733915
commit 43701915f1
4 changed files with 51 additions and 51 deletions

View File

@@ -26,7 +26,7 @@ import { certificateType } from "./shared";
// OLD TABLE
// TEMP
export const user = pgTable("users", {
export const user = pgTable("user", {
id: text("id")
.notNull()
.primaryKey()