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

@ -6,7 +6,7 @@ import { encodeHex } from "oslo/encoding";
import HttpCode from "@server/types/HttpCode";
import { response } from "@server/lib";
import { db } from "@server/db";
import { User, users } from "@server/db/schema";
import { User, users } from "@server/db/schemas";
import { eq } from "drizzle-orm";
import { createTOTPKeyURI } from "oslo/otp";
import logger from "@server/logger";