mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
feat: Colorize due date and make it toggleable (#845)
This commit is contained in:
parent
198518a51a
commit
c4c6d738a5
12 changed files with 207 additions and 38 deletions
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');
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue