diff --git a/drizzle-orm/src/expo-sqlite/migrator.ts b/drizzle-orm/src/expo-sqlite/migrator.ts index 8906121cf..6b98612be 100644 --- a/drizzle-orm/src/expo-sqlite/migrator.ts +++ b/drizzle-orm/src/expo-sqlite/migrator.ts @@ -56,12 +56,7 @@ type Action = | { type: 'migrated'; payload: true } | { type: 'error'; payload: Error }; -export const useMigrations = (db: ExpoSQLiteDatabase, migrations: { - journal: { - entries: { idx: number; when: number; tag: string; breakpoints: boolean }[]; - }; - migrations: Record; -}): State => { +export const useMigrations = (db: ExpoSQLiteDatabase, migrations: MigrationConfig): State => { const initialState: State = { success: false, error: undefined,