Files
toho-miku/migrations/20230807103447-add_custom_profile_bg.js

16 lines
380 B
JavaScript

'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn('Profiles', 'customBackground', {
type: Sequelize.STRING,
allowNull: true
});
},
async down (queryInterface, Sequelize) {
await queryInterface.removeColumn('Profiles', 'customBackground');
}
};