2020-04-19 00:40:23 +02:00

16 lines
350 B
JavaScript

exports.up = async (knex) => {
await knex.schema
.withSchema('dummy_schema')
.table('old_users', function (table) {
table.dropColumn('officeId');
});
await knex.schema
.withSchema('dummy_schema')
.table('old_users', function (table) {
table.string('officeId', 255);
});
};
exports.down = async (knex) => {};