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
aponcedeleonch merged 3 commits into
mainfrom
change-db-setup
Dec 3, 2024
Merged

aponcedeleonch merged 3 commits into
mainfrom
change-db-setup

Conversation

@aponcedeleonch

Copy link
Copy Markdown
Member

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
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