fix: evaluate document creation timestamps per instance

This commit is contained in:
tdurieux
2026-09-06 09:19:33 +02:00
parent f312105ec3
commit b070d7e281
7 changed files with 17 additions and 6 deletions
@@ -37,7 +37,7 @@ const AnonymizedGistSchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
gist: {
description: String,
@@ -38,7 +38,7 @@ const AnonymizedPullRequestSchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
pullRequest: {
diff: String,
@@ -59,7 +59,7 @@ const AnonymizedRepositorySchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
size: {
storage: {
@@ -32,7 +32,7 @@ const RepositorySchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
plan: {
planID: String,
@@ -34,7 +34,7 @@ const RepositorySchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
});
+1 -1
View File
@@ -54,7 +54,7 @@ const UserSchema = new Schema({
},
dateOfEntry: {
type: Date,
default: new Date(),
default: Date.now,
},
});