exports.up = function(knex) { return knex.schema .createTable('profiles', function(table) { table.increments('profile_id').primary() table.integer('user_id').notNullable() }) } exports.down = function(knex) { return knex.schema .dropTable('profiles') }