@@ -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');
|
||||
});
|
||||
Reference in New Issue
Block a user