Database table to store cached global stats, and analogous JPA entity to represent the table.
Since this is the first issue, let's also start structuring how we want this feature to live inside the codebase. I think a new root-level package global_stats would be appropriate, with the new entity we create here living in the domain package within that package.
Table name: global_stats
Columns
- id
- created_at
- updated_at
- metric (all-lowercase slug identifying the metric)
- value (this can just be a bigint)
Acceptance Criteria
Database table to store cached global stats, and analogous JPA entity to represent the table.
Since this is the first issue, let's also start structuring how we want this feature to live inside the codebase. I think a new root-level package global_stats would be appropriate, with the new entity we create here living in the domain package within that package.
Table name:
global_statsColumns
Acceptance Criteria