f3l1x98 / expenses-tracker

MIT License
0 stars 0 forks source link

Database refactoring: cron expression vs recurringtype enum #37

Open f3l1x98 opened 2 days ago

f3l1x98 commented 2 days ago

Currently it is only inteded to be possible to create recurring expenses/incomes using the yearly, monthly or weekly enum. If that does not change it would be easier to replace the stored cron expression with the enum value (or at least add the enum with additional custom value).
This would provide the following benefits:

f3l1x98 commented 2 days ago

Due to backend scheduled execution still requiring cron expression, the best solution would probably to add the enum and hide the cron expression from the frontend.