Whereby we could populate the default value as the current time;
Particularly useful for fields like createdAt. updatedAt
Storing dates as JS Dates would make querying a bit nicer too (i.e. performing comparisons directly on the server + remove the need to convert to Date manually)
Whereby we could populate the default value as the current time;
Particularly useful for fields like
createdAt
.updatedAt
Storing dates as JS Dates would make querying a bit nicer too (i.e. performing comparisons directly on the server + remove the need to convert to Date manually)