remove useless migration

This commit is contained in:
lesion 2022-06-24 15:57:12 +02:00
parent 1357a5b66a
commit 3dcbd67ab3
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 1 additions and 8 deletions

View file

@ -3,13 +3,6 @@ module.exports = {
await queryInterface.addColumn('fed_users', 'follower', {
type: Sequelize.BOOLEAN
})
// const users = queryInterface.sequelize.query('SELECT ')
// const followers = users.reduce((followers, user) => followers.concat(user.followers), [])
// console.error(followers)
// const followers = await Sequelize.models.user_followers.findAll()
// console.error(followers)
// get current followers
},
down: (queryInterface, Sequelize) => {

View file

@ -2,7 +2,7 @@
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.sequelize.query('ALTER TYPE "enum_event_notifications_status" ADD VALUE \'sending\'').catch(e => {})
// return queryInterface.sequelize.query('ALTER TYPE "enum_event_notifications_status" ADD VALUE \'sending\'').catch(e => {})
},
down: (queryInterface, Sequelize) => {