Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Avoid DB conflicts when schema change #173

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Conversation

aponcedeleonch
Copy link
Contributor

Delete the DB file every time that we start the server. This is a temporary solution until we have migrations. The schema can change fairly regularly which can cause problems like

"error": "OperationalError('table prompts has no column named request')" 

@aponcedeleonch aponcedeleonch merged commit c4318b2 into main Dec 3, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants