exports.up = function (knex) { return knex.schema.createTable('zip_codes', function (table) { table.integer('zip_code_id').primary() table.string('latitude', 16).notNullable() table.string('longitude', 16).notNullable() table.string('city', 128).notNullable() table.string('state', 16).notNullable() table.string('county', 128).notNullable() }) } exports.down = function (knex) { return knex.schema.dropTable('zip_codes') }