mirror of
https://github.com/knex/knex.git
synced 2025-07-31 04:41:59 +00:00

* Implement support for multiple migration directories * Add tests for new functionality * Fix tape tests * Pass migration directory upwards * Fix multiple directory support * Fix bugs * Rollback correctly * Fix remaining tests * Address comments
13 lines
251 B
JavaScript
13 lines
251 B
JavaScript
'use strict';
|
|
|
|
exports.up = function(knex) {
|
|
return knex.schema.createTable('migration_test_3', function(t) {
|
|
t.increments();
|
|
t.string('name');
|
|
});
|
|
};
|
|
|
|
exports.down = function(knex) {
|
|
return knex.schema.dropTable('migration_test_3');
|
|
};
|