mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
15 lines
379 B
JavaScript
15 lines
379 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn('assets', 'thumbnail_storage_key', {
|
|
type: Sequelize.STRING(512),
|
|
allowNull: true,
|
|
after: 'thumbnail_url',
|
|
});
|
|
},
|
|
down: async (queryInterface) => {
|
|
await queryInterface.removeColumn('assets', 'thumbnail_storage_key');
|
|
},
|
|
};
|