db changes

This commit is contained in:
2025-12-07 22:06:26 +01:00
parent 76e40cd9e1
commit dc0b49355d
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import { tenants } from "./tenants"
import { authUsers } from "./auth_users" import { authUsers } from "./auth_users"
import { textTemplatePositionsEnum } from "./enums" import { textTemplatePositionsEnum } from "./enums"
export const textTemplates = pgTable("texttemplates", { export const texttemplates = pgTable("texttemplates", {
id: bigint("id", { mode: "number" }) id: bigint("id", { mode: "number" })
.primaryKey() .primaryKey()
.generatedByDefaultAsIdentity(), .generatedByDefaultAsIdentity(),
@@ -40,5 +40,5 @@ export const textTemplates = pgTable("texttemplates", {
updatedBy: uuid("updated_by").references(() => authUsers.id), updatedBy: uuid("updated_by").references(() => authUsers.id),
}) })
export type TextTemplate = typeof textTemplates.$inferSelect export type TextTemplate = typeof texttemplates.$inferSelect
export type NewTextTemplate = typeof textTemplates.$inferInsert export type NewTextTemplate = typeof texttemplates.$inferInsert