mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
feat: Add S3 support for uploads (#938)
This commit is contained in:
parent
06a574f766
commit
f20a3d50f5
16 changed files with 579 additions and 24 deletions
|
@ -0,0 +1,15 @@
|
|||
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');
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue