@grindife/supamelon
Version:
Combination of supabase and watermelondb
15 lines (12 loc) • 385 B
TypeScript
import { $Exact } from '../../types'
import type { SchemaMigrations, MigrationStep } from './index'
import type { SchemaVersion } from '../index'
export function stepsForMigration({
migrations: schemaMigrations,
fromVersion,
toVersion,
}: $Exact<{
migrations: SchemaMigrations
fromVersion: SchemaVersion
toVersion: SchemaVersion
}>): MigrationStep[] | null