Ghost/ghost/core/test/unit/server/data
Fabien 'egg' O'Carroll bdaddd1a64
Added setting to store last mention report email date (#16399)
Because there is no guarantee about a daily job running exactly once a
day, we need to store the last time that the email was sent, so that we
can refrain from sending one if it's been less than a day since the
last.

A setting has been used for this as we don't currently have a pattern
for it, we might want to consider moving this to some kind of cache
based solution in future. This has been added as a core setting so that
we don't expose it via the API.

The setting is stored as a number to allow us to store value as unix timestamp.

---------

Co-authored-by: Rishabh <zrishabhgarg@gmail.com>
2023-03-15 15:34:41 +05:30
..
db Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
exporter Added setting to store last mention report email date (#16399) 2023-03-15 15:34:41 +05:30
importer Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
migrations Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
schema Added setting to store last mention report email date (#16399) 2023-03-15 15:34:41 +05:30