Added multiple features

This commit is contained in:
Torsten Schulz
2024-06-17 23:34:31 +02:00
parent 48a54ecdbb
commit 8c54988023
38 changed files with 1006 additions and 145 deletions

View File

@@ -0,0 +1,15 @@
'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn('images', 'pageId', {
type: Sequelize.INTEGER,
allowNull: true,
});
},
async down (queryInterface, Sequelize) {
await queryInterface.removeColumn('images', 'pageId');
}
};