fix #31
This commit is contained in:
@@ -34,8 +34,8 @@ const Notification = db.define('notification', {
|
||||
}
|
||||
})
|
||||
|
||||
Notification.findOrCreate({ where: { type: 'mastodon' } })
|
||||
Notification.findOrCreate({ where: { type: 'admin_email' } })
|
||||
Notification.findOrCreate({ where: { type: 'mastodon', filters: { is_visible: true } } })
|
||||
Notification.findOrCreate({ where: { type: 'admin_email', filters: { is_visible: false } } })
|
||||
|
||||
const Place = db.define('place', {
|
||||
name: { type: Sequelize.STRING, unique: true, index: true },
|
||||
|
||||
Reference in New Issue
Block a user