1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

feat: Add ability to link tasks to cards

This commit is contained in:
Maksim Eltyshev 2025-07-11 01:04:02 +02:00
parent 49203e9d56
commit 230f50e3d9
35 changed files with 761 additions and 243 deletions

View file

@ -0,0 +1,20 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
exports.up = async (knex) =>
knex.schema.alterTable('task', (table) => {
/* Columns */
table.bigInteger('linked_card_id');
/* Indexes */
table.index('linked_card_id');
});
exports.down = (knex) =>
knex.schema.table('task', (table) => {
table.dropColumn('linked_card_id');
});