/opt/canhelp/node_modules/drizzle-orm/op-sqlite
Edit: /opt/canhelp/node_modules/drizzle-orm/op-sqlite/migrator.d.ts (799B)
import type { OPSQLiteDatabase } from "./driver.js";
interface MigrationConfig {
journal: {
entries: {
idx: number;
when: number;
tag: string;
breakpoints: boolean;
}[];
};
migrations: Record
;
}
export declare function migrate>(db: OPSQLiteDatabase, config: MigrationConfig): Promise;
interface State {
success: boolean;
error?: Error;
}
export declare const useMigrations: (db: OPSQLiteDatabase, migrations: {
journal: {
entries: {
idx: number;
when: number;
tag: string;
breakpoints: boolean;
}[];
};
migrations: Record;
}) => State;
export {};