mirror of
https://github.com/knex/knex.git
synced 2025-07-14 12:31:19 +00:00

* Fix knexfile resolution. Add missing test * Try fixing Jake test execution * Avoid having non-test files in jake folder * Fix test compatibility with Node 6 * Fix the fix
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
exports.up = (knex) => {
|
|
return knex.schema.createTable('rules', (table) => {
|
|
table.string('name');
|
|
});
|
|
};
|
|
|
|
exports.down = (knex) => {
|
|
return knex.schema.dropTable('rules');
|
|
};
|