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

@@ -16,7 +16,7 @@ export const servicecategories = pgTable("servicecategories", {
.primaryKey()
.generatedByDefaultAsIdentity(),
createdAt: timestamp("created_at", { withTimezone: true })
created_at: timestamp("created_at", { withTimezone: true })
.notNull()
.defaultNow(),
@@ -31,8 +31,8 @@ export const servicecategories = pgTable("servicecategories", {
archived: boolean("archived").notNull().default(false),
updatedAt: timestamp("updated_at", { withTimezone: true }),
updatedBy: uuid("updated_by").references(() => authUsers.id),
updated_at: timestamp("updated_at", { withTimezone: true }),
updated_by: uuid("updated_by").references(() => authUsers.id),
})
export type ServiceCategory = typeof servicecategories.$inferSelect