feat: Colorize due date and make it toggleable (#845)

This commit is contained in:
Arkadiusz Dzięgiel
2024-08-12 16:29:50 +00:00
committed by GitHub
parent f84166406f
commit c594e8bd71
12 changed files with 207 additions and 38 deletions

View 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');
});
};