[lint] linting

This commit is contained in:
les
2019-10-28 17:33:20 +01:00
parent bda72f1559
commit e467a28902
56 changed files with 373 additions and 306 deletions

View File

@@ -1,4 +1,4 @@
'use strict';
'use strict'
module.exports = {
up: (queryInterface, Sequelize) => {
@@ -16,20 +16,20 @@ module.exports = {
primaryKey: true,
references: {
model: 'events',
key: 'id',
key: 'id'
},
onUpdate: 'CASCADE',
onDelete: 'CASCADE',
onDelete: 'CASCADE'
},
notificationId: {
primaryKey: true,
type: Sequelize.INTEGER,
references: {
model: 'notifications',
key: 'id',
key: 'id'
},
onUpdate: 'CASCADE',
onDelete: 'CASCADE',
onDelete: 'CASCADE'
}
})
},