1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00
planka/server/db/migrations/20240812065305_add_due_completion.js.js
2024-08-12 18:29:50 +02:00

12 lines
305 B
JavaScript

module.exports.up = async (knex) =>
knex.schema.table('card', (table) => {
/* Columns */
table.boolean('due_completed').notNullable().defaultTo(false);
});
module.exports.down = async (knex) => {
await knex.schema.table('card', (table) => {
table.dropColumn('due_completed');
});
};