@statechannels/server-wallet > DBAdmin > migrateDatabaseFromKnex

DBAdmin.migrateDatabaseFromKnex() method

Performs wallet database migrations for the database specified by the knex instance connection info

Signature:

static migrateDatabaseFromKnex(knex: Knex): Promise<void>;

Parameters

ParameterTypeDescription
knexKnexThe knex instance that will be used for the migrations

Returns:

Promise<void>