diff --git a/lib/migrations/20241229134140-user-history-type b/lib/migrations/20241229134140-user-history-type new file mode 100644 index 000000000..9c0278490 --- /dev/null +++ b/lib/migrations/20241229134140-user-history-type @@ -0,0 +1,11 @@ +'use strict' + +module.exports = { + up: async function (queryInterface, Sequelize) { + await queryInterface.changeColumn('Users', 'history', { type: Sequelize.TEXT('long') }) + }, + + down: async function (queryInterface, Sequelize) { + await queryInterface.changeColumn('Users', 'history', { type: Sequelize.TEXT }) + } +}