refactor: add migration

This commit is contained in:
Mauricio Siu
2025-02-10 00:39:46 -06:00
parent 1db6ba94f4
commit b7112b89fd
10 changed files with 6227 additions and 12 deletions

View File

@@ -64,6 +64,9 @@ export const organization = pgTable("organization", {
logo: text("logo"),
createdAt: timestamp("created_at").notNull(),
metadata: text("metadata"),
ownerId: text("owner_id")
.notNull()
.references(() => user.id),
});
export const member = pgTable("member", {