I tend to agree with solution 1)
However I wound suggest having an _upgrade folder with several python scripts (_core_1.py, _core_2.py, ...) which are then all executed in that order. This will make upgrades easier since one just needs to detect the current schema version and execute the scripts from the count.
I tend to agree with solution 1)
However I wound suggest having an _upgrade folder with several python scripts (_core_1.py, _core_2.py, ...) which are then all executed in that order. This will make upgrades easier since one just needs to detect the current schema version and execute the scripts from the count.