Adding gnommoeditor in the current version
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Add dimension and MIME metadata captured at upload time
|
||||
exports.up = (pgm) => {
|
||||
pgm.addColumns('shared_assets', {
|
||||
width: { type: 'integer' },
|
||||
height: { type: 'integer' },
|
||||
mime_type: { type: 'varchar(100)' },
|
||||
original_filename: { type: 'varchar(500)' },
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = (pgm) => {
|
||||
pgm.dropColumns('shared_assets', ['width', 'height', 'mime_type', 'original_filename']);
|
||||
};
|
||||
Reference in New Issue
Block a user