feat: Add ability to display card ages
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* Copyright (c) 2024 PLANKA Software GmbH
|
||||
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
module.exports.up = async (knex) => {
|
||||
await knex.schema.alterTable('board', (table) => {
|
||||
table.boolean('display_card_ages').notNullable().defaultTo(false);
|
||||
});
|
||||
|
||||
return knex.schema.alterTable('board', (table) => {
|
||||
table.boolean('display_card_ages').notNullable().alter();
|
||||
});
|
||||
};
|
||||
|
||||
module.exports.down = (knex) =>
|
||||
knex.schema.alterTable('board', (table) => {
|
||||
table.dropColumn('display_card_ages');
|
||||
});
|
||||
Reference in New Issue
Block a user