DB: Add fields for custom profile backgrounds

This commit is contained in:
Minz authored and Minz committed 2023-08-07 17:34:19 +02:00
1 parent 7962266b26
commit 2f63f172c2
2 files changed
+16

No files matched your search

@@ -0,0 +1,15 @@
'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');
}
};