data/migrations/20200312152523_states_table.js
exports.up = function (knex) {
return knex.schema.createTable('states', tbl => {
tbl.increments();
tbl.string('state_name').notNullable().unique();
});
};
exports.down = function (knex) {
return knex.schema.dropTableIfExists('states');
};