mirror of
https://github.com/knex/knex.git
synced 2025-07-13 12:00:55 +00:00
16 lines
348 B
JavaScript
16 lines
348 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) => {};
|