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