Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cb6978d

Browse files
committed
Update project model
1 parent 7f57230 commit cb6978d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

models/Project.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ const schema = new Schema({
3737
owner: {type: String, required: true},
3838
secretWebhookKey: {type: String, required: true},
3939
copilot: {type: String, required: false},
40-
registeredWebhookId: {type: String, required: false}
40+
registeredWebhookId: {type: String, required: false},
41+
updatedAt: {
42+
type: Date,
43+
default: Date.now
44+
}
4145
});
4246

4347
module.exports = schema;

0 commit comments

Comments
 (0)