@statechannels/server-wallet > DBAdmin > createDatabaseFromKnex

DBAdmin.createDatabaseFromKnex() method

Creates the database specified by the knex instance connection info

Signature:

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

Parameters

ParameterTypeDescription
knexKnexThe knex instance which should have a db name specified

Returns:

Promise<void>