exports.up = function (knex) { return knex.schema.createTable('user_identities', function (table) { table.increments('user_pw_id').primary() table.integer('user_id').notNullable() table.string('uname', 16) table.string('pw', 16) table.boolean('is_deleted').notNullable() }) } exports.down = function (knex) { return knex.schema.dropTable('user_identities') }