exports.up = function (knex) { return knex.schema.createTable('users', function (table) { table.increments('user_id').primary() table.string('user_name', 32).notNullable() table.string('user_email', 90).notNullable() table.boolean('is_admin').notNullable() table.boolean('is_poster').notNullable() table.boolean('is_verified').notNullable() }) } exports.down = function (knex) { return knex.schema.dropTable('users') }