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 { Server as HttpServer } from "http";
import { WebSocket, WebSocketServer } from "ws";
import { IncomingMessage } from "http";
import { Socket } from "net";
import { Newt, newts, NewtSession } from "@server/db/schema";
import { Newt, newts, NewtSession } from "@server/db/schemas";
import { eq } from "drizzle-orm";
import db from "@server/db";
import { validateNewtSessionToken } from "@server/auth/sessions/newt";