You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
Five Grant edited this page Oct 17, 2022
·
1 revision
Editing the data model
Whenever the data model is edited, the API will refuse to start until the version in the source has been set to the new version (variable can be found in src/main.py). Additionally, the corresponding Pydantic and SQLAlchemy code will throw an error because they are outdated, so the user will have to run the model-build generate ./askem.dbml ./src/generated function.
The flow expects that the user will never change the generated file so these files' contents are hashed and checked every time the program runs to ensure the content is identical to when it was first generated.