exports.up = function (knex) { return knex.schema.createTable('blocked_associations', function (table) { table.increments('block_id').primary() table.integer('profile_id').notNullable() table.integer('profile_id_to_block').notNullable() table.boolean('is_active').notNullable() }) } exports.down = function (knex) { return knex.schema.dropTable('blocked_associations') }