mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 01:11:23 +03:00
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
module.exports.up = async (knex) => {
|
|
return knex.schema.table('attachment', (table) => {
|
|
table.text('type');
|
|
table.text('url');
|
|
table.text('thumb');
|
|
});
|
|
};
|
|
|
|
module.exports.down = async (knex) => {
|
|
return knex.schema.table('attachment', (table) => {
|
|
table.dropColumn('type');
|
|
table.dropColumn('url');
|
|
table.dropColumn('thumb');
|
|
});
|
|
};
|