diff --git a/models/Friend.js b/models/Friend.js index fc72c69ac47e8ae67810b4d32af2e2281481dc2f..d9c41e2be2ea225a11caebc7cd5fed37f1391f56 100644 --- a/models/Friend.js +++ b/models/Friend.js @@ -11,7 +11,7 @@ const Friend = sequelize.define('Friend', { }, }, { tableName: 'Friends', - timestamps: false, + timestamps: true, }); Friend.belongsTo(User, { foreignKey: 'user_id', as: 'user' });