mirror of
https://github.com/knex/knex.git
synced 2025-07-16 05:20:59 +00:00
14 lines
303 B
JavaScript
14 lines
303 B
JavaScript
![]() |
module.exports = {
|
||
|
migration_source_test_1: {
|
||
|
up(knex) {
|
||
|
return knex.schema.createTable('migration_source_test_1', function(t) {
|
||
|
t.increments();
|
||
|
t.string('name');
|
||
|
});
|
||
|
},
|
||
|
down(knex) {
|
||
|
return knex.schema.dropTable('migration_source_test_1');
|
||
|
},
|
||
|
},
|
||
|
};
|