Melon-dbMelon-db
API reference@melon-db/sync

buildPullMigration

@melon-db/sync — buildPullMigration

@melon-db/sync API Reference


Function: buildPullMigration()

buildPullMigration(migrations, fromVersion, toVersion): PullMigration

Defined in: packages/melon-sync/src/migration-sync.ts:7

Builds Watermelon-style migration metadata for pull requests after a schema upgrade.

Parameters

ParameterType
migrationsMigration[]
fromVersionnumber
toVersionnumber

Returns

PullMigration