move schema.ts to module

This commit is contained in:
miloschwartz
2025-03-23 17:11:48 -04:00
parent 013f342ff6
commit fefb07e14c
141 changed files with 146 additions and 145 deletions

View File

@@ -3,7 +3,7 @@ import db from "@server/db";
import { hash } from "@node-rs/argon2";
import HttpCode from "@server/types/HttpCode";
import { z } from "zod";
import { newts } from "@server/db/schema";
import { newts } from "@server/db/schemas";
import createHttpError from "http-errors";
import response from "@server/lib/response";
import { SqliteError } from "better-sqlite3";