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

17 lines
384 B
JavaScript

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