Homebrew manager completed !

This commit is contained in:
Clément Pons
2025-08-26 15:27:47 +02:00
parent 80a94bee86
commit da93fcd82d
14 changed files with 1173 additions and 244 deletions

View File

@@ -52,7 +52,7 @@ export const characterTable = table("character", {
id: int().primaryKey({ autoIncrement: true }),
name: text().notNull(),
owner: int().notNull().references(() => usersTable.id, { onDelete: 'cascade', onUpdate: 'cascade' }),
people: int().notNull(),
people: text().notNull(),
level: int().notNull().default(1),
aspect: int(),
notes: text(),