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