Factor the models to prepare for new ones related to the radio version
Other notable improvements:
- Define the default values to be able to use the built-in convenience method
`get_or_create`;
- Use the F helper to *atomically* increment the counters; the current method
could run into race conditions and miss increments.
The models remain functionally the same - also, their title is left unchanged to
not break compatibility and avoid a migration.
Change-Id: Iad86302d869705867efadf8cfd2e661dac1ff4f9
2 files changed