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:
parent
402645bc99
commit
30ed77af59
190 changed files with 2144 additions and 1817 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue