mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
remove useless migration
This commit is contained in:
parent
1357a5b66a
commit
3dcbd67ab3
2 changed files with 1 additions and 8 deletions
|
@ -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) => {
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue