API reference@melon-db/sync
buildPullMigration
@melon-db/sync — buildPullMigration
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
| Parameter | Type |
|---|---|
migrations | Migration[] |
fromVersion | number |
toVersion | number |
