mirror of
https://github.com/plankanban/planka.git
synced 2025-12-30 01:12:01 +03:00
feat: Colorize due date and make it toggleable (#845)
This commit is contained in:
committed by
GitHub
parent
f84166406f
commit
c594e8bd71
12
server/db/migrations/20240812065305_add_due_completion.js.js
Normal file
12
server/db/migrations/20240812065305_add_due_completion.js.js
Normal file
@@ -0,0 +1,12 @@
|
||||
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');
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user