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

@@ -5,7 +5,7 @@ import { fromError } from "zod-validation-error";
import HttpCode from "@server/types/HttpCode";
import { response } from "@server/lib";
import { db } from "@server/db";
import { passwordResetTokens, users } from "@server/db/schema";
import { passwordResetTokens, users } from "@server/db/schemas";
import { eq } from "drizzle-orm";
import { alphabet, generateRandomString, sha256 } from "oslo/crypto";
import { createDate } from "oslo";