clean unused places/tags #107 and unused fields

This commit is contained in:
les
2021-04-09 23:54:17 +02:00
parent 24170f0dfa
commit 5ac73caeac
11 changed files with 86 additions and 46 deletions

View File

@@ -51,6 +51,7 @@ Event.belongsTo(User)
User.hasMany(Event)
Event.belongsToMany(Tag, { through: 'event_tags' })
Tag.belongsToMany(Event, { through: 'event_tags' })
Event.belongsToMany(Notification, { through: EventNotification })
Notification.belongsToMany(Event, { through: EventNotification })