mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
feat: getting presigned url of the uploaded attachment
This commit is contained in:
@@ -2,7 +2,9 @@ exports.up = function (knex) {
|
||||
return knex.schema.createTable('documents', (table) => {
|
||||
table.increments('id').primary();
|
||||
table.string('key').notNullable();
|
||||
table.string('extension').notNullable();
|
||||
table.string('mime_type').notNullable();
|
||||
table.integer('size').unsigned().notNullable();
|
||||
table.string('origin_name');
|
||||
table.timestamps();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user