We should review the database layer.
Context
Problem
Proposal
In the middle term (before adding more tables), we should:
- Research to confirm if the current crate is the best one. Change it if it's not.
- Add migrations.
- Split the database trait into many different traits per context. Otherwise, it will end up having too many methods.
I think I will implement the metrics persistence with the current drivers because I want to finish the[+] stats overhaul,[/+][-] stats overhaul,[/-] but we should consider implementing this epic before continuing to add more tables (complexity) to the current persistence layer, especially if we decide to change it.
cc @da2ce7
The work is split into sequential sub-issues so each step can be independently reviewed and merged. See the implementation plan in the comments below.
We should review the database layer.
Context
Problem
tracker-corepackage #1437 (comment)Proposal
In the middle term (before adding more tables), we should:
I think I will implement the metrics persistence with the current drivers because I want to finish the[+] stats overhaul,[/+][-] stats overhaul,[/-] but we should consider implementing this epic before continuing to add more tables (complexity) to the current persistence layer, especially if we decide to change it.
cc @da2ce7
The work is split into sequential sub-issues so each step can be independently reviewed and merged. See the implementation plan in the comments below.