8 lines
234 B
TypeScript
8 lines
234 B
TypeScript
import { db } from './index.js';
|
|
|
|
// Called from hooks.server.ts so startup fails before workers or requests run.
|
|
// db() applies the ordered migrations.ts list using PRAGMA user_version.
|
|
export function migrate(): void {
|
|
db();
|
|
}
|