This commit is contained in:
admin
2026-09-03 22:02:52 +09:00
commit 659725de15
90 changed files with 2840 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
import { products } from "./products";
export const inventory = sqliteTable("inventory", {
productId: text("product_id").primaryKey().references(() => products.id),
availableQuantity: integer("available_quantity").notNull()
});