We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2fb0ac commit 9c63b56Copy full SHA for 9c63b56
src/models/Interview.js
@@ -146,17 +146,7 @@ module.exports = (sequelize) => {
146
deletedAt: 'deletedAt',
147
createdAt: 'createdAt',
148
updatedAt: 'updatedAt',
149
- timestamps: true,
150
- defaultScope: {
151
- attributes: {
152
- exclude: ['deletedAt']
153
- }
154
- },
155
- hooks: {
156
- afterCreate: (interview) => {
157
- delete interview.dataValues.deletedAt
158
159
+ timestamps: true
160
}
161
)
162
0 commit comments