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

@ -2,7 +2,7 @@ import { migrate } from "drizzle-orm/better-sqlite3/migrator";
import db, { exists } from "@server/db";
import path from "path";
import semver from "semver";
import { versionMigrations } from "@server/db/schema";
import { versionMigrations } from "@server/db/schemas";
import { __DIRNAME, APP_PATH, APP_VERSION } from "@server/lib/consts";
import { SqliteError } from "better-sqlite3";
import fs from "fs";