diff --git a/api/migrations/20200526035358-add_is_public_and_is_open_to_calendar_event.js b/api/migrations/20200526035358-add_is_public_and_is_open_to_calendar_event.js deleted file mode 100644 index dbf3a24..0000000 --- a/api/migrations/20200526035358-add_is_public_and_is_open_to_calendar_event.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -module.exports = { - up: (queryInterface, Sequelize) => { - return Promise.all([ - queryInterface.addColumn('calendar_events', 'is_open', { - allowNull: false, - type: Sequelize.BOOLEAN, - defaultValue: false, - }), - queryInterface.addColumn('calendar_events', 'is_public', { - allowNull: false, - type: Sequelize.BOOLEAN, - defaultValue: false, - }), - ]); - }, - - down: (queryInterface, Sequelize) => { - return Promise.all([ - queryInterface.removeColumn('calendar_events', 'is_open'), - queryInterface.removeColumn('calendar_events', 'is_public'), - ]); - }, -}; diff --git a/api/migrations/20200526035531-add_slug_to_calendar_events.js b/api/migrations/20200526035531-add_slug_to_calendar_events.js deleted file mode 100644 index 294ef46..0000000 --- a/api/migrations/20200526035531-add_slug_to_calendar_events.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -module.exports = { - up: (queryInterface, Sequelize) => { - return Promise.all([ - queryInterface.addColumn('calendar_events', 'slug', { - allowNull: true, - type: Sequelize.STRING, - }), - ]); - }, - - down: (queryInterface, Sequelize) => { - return Promise.all([ - queryInterface.removeColumn('calendar_events', 'slug'), - ]); - }, -};