/
ai_sampletext
/
DiplomWork
Обзор
Документация
Войти
/
ai_sampletext
/
DiplomWork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node_modules/drizzle-orm/op-sqlite/migrator.d.ts
29 строк
799 B
boolyshareyo
Initial commit
08 июн 2026, 16:00
08 июн 2026, 16:00
6216a29
Код
Авторство
О чём код?
import type { OPSQLiteDatabase } from "./driver.js"; interface MigrationConfig { journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record<string, string>; } export declare function migrate<TSchema extends Record<string, unknown>>(db: OPSQLiteDatabase<TSchema>, config: MigrationConfig): Promise<void>; interface State { success: boolean; error?: Error; } export declare const useMigrations: (db: OPSQLiteDatabase<any>, migrations: { journal: { entries: { idx: number; when: number; tag: string; breakpoints: boolean; }[]; }; migrations: Record<string, string>; }) => State; export {};