mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
parent
ac09d9b6bd
commit
4821d407a7
19 changed files with 365 additions and 166 deletions
17
server/db/migrations/20250131202710_add_list_color.js
Normal file
17
server/db/migrations/20250131202710_add_list_color.js
Normal 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');
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue