db changes

This commit is contained in:
2025-12-07 17:11:26 +01:00
parent 0f3c8c862f
commit 76e40cd9e1
6 changed files with 27 additions and 27 deletions

View File

@@ -15,7 +15,7 @@ import { vendors } from "./vendors"
import { spaces } from "./spaces"
import { authUsers } from "./auth_users"
export const inventoryItems = pgTable("inventoryitems", {
export const inventoryitems = pgTable("inventoryitems", {
id: bigint("id", { mode: "number" })
.primaryKey()
.generatedByDefaultAsIdentity(),
@@ -64,5 +64,5 @@ export const inventoryItems = pgTable("inventoryitems", {
),
})
export type InventoryItem = typeof inventoryItems.$inferSelect
export type NewInventoryItem = typeof inventoryItems.$inferInsert
export type InventoryItem = typeof inventoryitems.$inferSelect
export type NewInventoryItem = typeof inventoryitems.$inferInsert