feat: add quantity field to items schema

Add integer quantity column (default 1) to the items table, generate
the corresponding Drizzle migration, and extend createItemSchema /
updateItemSchema with an optional positive-integer quantity field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 18:04:15 +02:00
parent 1b492f2ac2
commit 923a0f66b0
3 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `items` ADD `quantity` integer DEFAULT 1 NOT NULL;