This commit is contained in:
2025-12-06 20:10:57 +01:00
parent d895583ea2
commit 1e71e54314
2 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ import {
import { tenants } from "./tenants"
import { authUsers } from "./auth_users"
export const serviceCategories = pgTable("servicecategories", {
export const servicecategories = pgTable("servicecategories", {
id: bigint("id", { mode: "number" })
.primaryKey()
.generatedByDefaultAsIdentity(),
@@ -35,5 +35,5 @@ export const serviceCategories = pgTable("servicecategories", {
updatedBy: uuid("updated_by").references(() => authUsers.id),
})
export type ServiceCategory = typeof serviceCategories.$inferSelect
export type NewServiceCategory = typeof serviceCategories.$inferInsert
export type ServiceCategory = typeof servicecategories.$inferSelect
export type NewServiceCategory = typeof servicecategories.$inferInsert