mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
chore: Fix linting
This commit is contained in:
parent
1bf25474d0
commit
cce3d7ab8d
2 changed files with 13 additions and 6 deletions
|
@ -98,7 +98,14 @@ module.exports = {
|
|||
throw Errors.NOT_ENOUGH_RIGHTS;
|
||||
}
|
||||
|
||||
const values = _.pick(inputs, ['position', 'name', 'description', 'dueDate', 'dueCompleted', 'stopwatch']);
|
||||
const values = _.pick(inputs, [
|
||||
'position',
|
||||
'name',
|
||||
'description',
|
||||
'dueDate',
|
||||
'dueCompleted',
|
||||
'stopwatch',
|
||||
]);
|
||||
|
||||
const card = await sails.helpers.cards.createOne
|
||||
.with({
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
module.exports.up = async (knex) => knex.schema.table('card', (table) => {
|
||||
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