Support the development of TastyIgniter Learn more
Is there a recommended approach we should be adopting for housekeeping? What tables should be truncated periodically? Would dread to think orders would stop processing due to lack of tablespace.
Any specific table you’re looking to truncate? Related models are deleted automatically when their parent model is deleted.
As ex. Status history and notification?
breaksecurity What do you mean?
Can be cleaned from time to time just my opinion.
Can be useful having a button to clear/empty notification ringbell
breaksecurity Agreed but we have to be careful with status_history as deleting records with valid orders could throw an error.
Until now I cleaned theme with orders table too so I do not spot any error good to know anyway
breaksecurity Yea, I’ll cook up something to handle housekeeping. Can you create an issue on Github so I can keep track or maybe someone else can help with it 😉
Please continue here any discussion on this topic