Add Health, mana and armor editing

This commit is contained in:
2025-04-26 15:49:52 +02:00
parent 3f58114091
commit 1ee895ab42
12 changed files with 544 additions and 3 deletions

View File

@@ -58,6 +58,7 @@ export const characterTable = sqliteTable("character", {
name: text().notNull(),
owner: int().notNull().references(() => usersTable.id, { onDelete: 'cascade', onUpdate: 'cascade' }),
progress: text({ mode: 'json' }).notNull(),
values: text({ mode: 'json' }).notNull().default({}),
thumbnail: blob(),
})