move schema.ts to module

This commit is contained in:
miloschwartz 2025-03-23 17:11:48 -04:00
parent 013f342ff6
commit fefb07e14c
No known key found for this signature in database
141 changed files with 146 additions and 145 deletions

View file

@ -1,7 +1,7 @@
import { TimeSpan, createDate } from "oslo";
import { generateRandomString, alphabet } from "oslo/crypto";
import db from "@server/db";
import { users, emailVerificationCodes } from "@server/db/schema";
import { users, emailVerificationCodes } from "@server/db/schemas";
import { eq } from "drizzle-orm";
import { sendEmail } from "@server/emails";
import config from "@server/lib/config";