feat: migrate rest schemas

This commit is contained in:
Mauricio Siu
2025-02-13 00:45:29 -06:00
parent 7c62408070
commit 0d525398a8
12 changed files with 5348 additions and 30 deletions

View File

@@ -28,9 +28,9 @@ export const projects = pgTable("project", {
// userId: text("userId")
// .notNull()
// .references(() => user.userId, { onDelete: "cascade" }),
adminId: text("adminId")
userId: text("userId")
.notNull()
.references(() => admins.adminId, { onDelete: "cascade" }),
.references(() => users_temp.id, { onDelete: "cascade" }),
env: text("env").notNull().default(""),
});