From dc0b49355d2797f0cdaa864d4cc9a157dbbd19f8 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Sun, 7 Dec 2025 22:06:26 +0100 Subject: [PATCH] db changes --- db/schema/texttemplates.ts | 6 +++--- src/routes/auth/{ => dep}/user.ts | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename src/routes/auth/{ => dep}/user.ts (100%) diff --git a/db/schema/texttemplates.ts b/db/schema/texttemplates.ts index ce1ac94..baddc0d 100644 --- a/db/schema/texttemplates.ts +++ b/db/schema/texttemplates.ts @@ -12,7 +12,7 @@ import { tenants } from "./tenants" import { authUsers } from "./auth_users" import { textTemplatePositionsEnum } from "./enums" -export const textTemplates = pgTable("texttemplates", { +export const texttemplates = pgTable("texttemplates", { id: bigint("id", { mode: "number" }) .primaryKey() .generatedByDefaultAsIdentity(), @@ -40,5 +40,5 @@ export const textTemplates = pgTable("texttemplates", { updatedBy: uuid("updated_by").references(() => authUsers.id), }) -export type TextTemplate = typeof textTemplates.$inferSelect -export type NewTextTemplate = typeof textTemplates.$inferInsert +export type TextTemplate = typeof texttemplates.$inferSelect +export type NewTextTemplate = typeof texttemplates.$inferInsert diff --git a/src/routes/auth/user.ts b/src/routes/auth/dep/user.ts similarity index 100% rename from src/routes/auth/user.ts rename to src/routes/auth/dep/user.ts