Closed bastisawesome closed 1 month ago
The more I review this code, the worse I feel like it is. Every single table houses the schema, then has to run checks to see if there's an old table, grab the old data, then insert it into the new table. This is horribly inefficient. So instead of simply adding the check, I think I'm going to break out the logic into more functions.
Currently the only work done is to make the tests run. However, this PR should address the following concerns:
I expect to revert the current change, but as I had already made and pushed it before realising the bigger issue here, I will leave this as a draft. Future changes will be made swiftly.