Improve db migrations.
Move all migration code to python module and use it from app.py. Use Enum values to avoid problems with Enum names in DB.
This commit is contained in:
Move all migration code to python module and use it from app.py. Use Enum values to avoid problems with Enum names in DB.