mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 15:49:46 +02:00
fix: Fix styles, refactoring
This commit is contained in:
parent
c4c6d738a5
commit
545b3d711d
20 changed files with 229 additions and 202 deletions
|
@ -0,0 +1,18 @@
|
|||
module.exports.up = async (knex) => {
|
||||
await knex.schema.table('card', (table) => {
|
||||
/* Columns */
|
||||
|
||||
table.boolean('is_due_date_completed');
|
||||
});
|
||||
|
||||
return knex('card')
|
||||
.update({
|
||||
isDueDateCompleted: false,
|
||||
})
|
||||
.whereNotNull('due_date');
|
||||
};
|
||||
|
||||
module.exports.down = (knex) =>
|
||||
knex.schema.table('card', (table) => {
|
||||
table.dropColumn('is_due_date_completed');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue