'use strict'; /** * Migration: Remove entry_page_slug from projects table * * The entry page is now determined by the first page by sort_order, * making entry_page_slug redundant. */ module.exports = { async up(queryInterface, _Sequelize) { await queryInterface.removeColumn('projects', 'entry_page_slug'); }, async down(queryInterface, Sequelize) { await queryInterface.addColumn('projects', 'entry_page_slug', { type: Sequelize.TEXT, allowNull: true, }); }, };