1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-05 13:35:27 +02:00

feat: Ability to set list color indicator (#1033)

Closes #840
This commit is contained in:
Lukas Corona 2025-02-25 15:58:59 +01:00 committed by GitHub
parent b0e9ed6162
commit 2732570607
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 365 additions and 166 deletions

View file

@ -0,0 +1,17 @@
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.up = (knex) =>
knex.schema.alterTable('list', (table) => {
table.text('color');
});
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.down = (knex) =>
knex.schema.alterTable('list', (table) => {
table.dropColumn('color');
});