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>
(async) check() → {Promise.<MigrationType>}
- Source:
Returns:
- Type
- Promise.<MigrationType>
(async) migrate(b, ctx) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch | |
ctx |
MigrationContext |
- Source:
Returns:
- Type
- Promise
(async) migrate(b, ctx) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch | |
ctx |
WalletMigrationContext |
- Source:
Returns:
- Type
- Promise