aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/pod.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/pod.js')
-rw-r--r--server/models/pod.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/pod.js b/server/models/pod.js
index 2c1f56203..fff6970a7 100644
--- a/server/models/pod.js
+++ b/server/models/pod.js
@@ -19,7 +19,6 @@ module.exports = function (sequelize, DataTypes) {
19 type: DataTypes.INTEGER, 19 type: DataTypes.INTEGER,
20 defaultValue: constants.FRIEND_SCORE.BASE 20 defaultValue: constants.FRIEND_SCORE.BASE
21 } 21 }
22 // Check createdAt
23 }, 22 },
24 { 23 {
25 classMethods: { 24 classMethods: {
@@ -68,7 +67,7 @@ function associate (models) {
68 this.belongsToMany(models.Request, { 67 this.belongsToMany(models.Request, {
69 foreignKey: 'podId', 68 foreignKey: 'podId',
70 through: models.RequestToPod, 69 through: models.RequestToPod,
71 onDelete: 'CASCADE' 70 onDelete: 'cascade'
72 }) 71 })
73} 72}
74 73