Add Database Migration System #36
No reviewers
Labels
No labels
Bug
Feature
Feedback Wanted
Refactoring
Won't Do
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: waifu/kemoverse#36
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "34_database_migrations"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a structured system for applying incremental database migrations. Databases can now be updated to the latest version by running
setup_db.py
. Any further changes to the DB schema can be automated by adding a SQL script undermigrations/
last_seen_notif_id
fix to its own migration fileTested in production and it works without a problem.