knex/test/unit/migrate/processed-migrations/simple_migration.js
Igor Savin 1cd1f079f8
Apply postprocessing in migrations (#2934)
Apply postprocessing in migrations
2018-12-03 23:47:09 +01:00

10 lines
195 B
JavaScript

exports.up = (knex) => {
return knex.schema.createTable('old_users', (table) => {
table.string('name');
});
};
exports.down = (knex) => {
return knex.schema.dropTable('old_users');
};