1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Prepare for collection board type, refactoring, update dependencies

This commit is contained in:
Maksim Eltyshev 2020-08-04 01:32:46 +05:00
parent 402645bc99
commit 30ed77af59
190 changed files with 2144 additions and 1817 deletions

View file

@ -6,6 +6,7 @@ module.exports.up = (knex) =>
table.bigInteger('project_id').notNullable();
table.text('type').notNullable();
table.specificType('position', 'double precision').notNullable();
table.text('name').notNullable();

View file

@ -4,11 +4,11 @@ module.exports.up = (knex) =>
table.bigInteger('id').primary().defaultTo(knex.raw('next_id()'));
table.bigInteger('list_id').notNullable();
table.bigInteger('board_id').notNullable();
table.bigInteger('list_id');
table.bigInteger('cover_attachment_id');
table.specificType('position', 'double precision').notNullable();
table.specificType('position', 'double precision');
table.text('name').notNullable();
table.text('description');
table.timestamp('dueDate', true);
@ -20,6 +20,7 @@ module.exports.up = (knex) =>
/* Indexes */
table.index('list_id');
table.index('board_id');
table.index('position');
});