Merge new rendering into master #60

Merged
JanGross merged 25 commits from dev-new-rendering into master 2023-08-07 17:34:19 +02:00
2 changed files with 16 additions and 0 deletions
Showing only changes of commit 2d11fdfdad - Show all commits

View File

@@ -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');
}
};

View File

@@ -20,6 +20,7 @@ module.exports = (sequelize, DataTypes) => {
Profile.init({
userId: DataTypes.INTEGER,
customStatus: DataTypes.STRING,
customBackground: DataTypes.STRING,
slotOne: DataTypes.INTEGER,
slotTwo: DataTypes.INTEGER,
slotThree: DataTypes.INTEGER,