Constructor
new MigrateMigrations(options)
Create migrations migration.
Parameters:
Name | Type | Description |
---|---|---|
options |
ChainMigratorOptions |
- Source:
Members
options :WalletMigratorOptions
Type:
- WalletMigratorOptions
- Source:
Methods
(async) check() → {Promise.<MigrationType>}
- Source:
Returns:
- Type
- Promise.<MigrationType>
encodeMigrationState(nextMigration) → {Buffer}
Parameters:
Name | Type | Description |
---|---|---|
nextMigration |
Number |
- Source:
Returns:
- Type
- Buffer
(async) migrate(b) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch |
- Source:
Returns:
- Type
- Promise
(async) migrate(b) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch |
- Source:
Returns:
- Type
- Promise