File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,9 +58,18 @@ export class Repo {
5858 name : string ;
5959 url : string ;
6060 users : { canPush : string [ ] ; canAuthorise : string [ ] } ;
61- /** ISO-8601; set on create, never overwritten thereafter */
61+ /**
62+ * ISO-8601; set on create, never overwritten thereafter.
63+ * Existing repos missing this field are intentionally left unset here —
64+ * backfill belongs in a follow-up versioned migration (Mongo: prefer
65+ * `$toDate: "$_id"` over an epoch default). Do not reintroduce startup
66+ * one-off backfills.
67+ */
6268 dateCreated ?: string ;
63- /** ISO-8601; set on create and bumped on repo metadata mutations */
69+ /**
70+ * ISO-8601; set on create and bumped on repo metadata mutations.
71+ * Same migration note as {@link Repo.dateCreated}.
72+ */
6473 lastModified ?: string ;
6574 _id ?: string ;
6675
You can’t perform that action at this time.
0 commit comments