import * as Knex from "knex"; export async function up(knex: Knex): Promise { // Users table. await knex.schema.createTable( 'users', (table: any) => { table.increments('id'); table.string('email'); table.string('passwordHash') } ) } export async function down(knex: Knex): Promise { await knex.schema.dropTable('users'); }