update migration

This commit is contained in:
jejolare 2024-10-01 22:22:04 +07:00
parent 6bc32400b9
commit b6952dcca6

View file

@ -32,6 +32,10 @@ module.exports = {
type: Sequelize.TEXT,
allowNull: true,
});
await queryInterface.changeColumn('assets', 'meta_info', {
type: Sequelize.TEXT,
allowNull: true,
});
},
down: async (queryInterface, Sequelize) => {
@ -64,5 +68,10 @@ module.exports = {
type: Sequelize.STRING,
allowNull: true,
});
await queryInterface.changeColumn('assets', 'meta_info', {
type: Sequelize.STRING,
allowNull: true,
});
}
};