Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add full support for automatic/manual db migrations #1083

Merged
merged 2 commits into from
Mar 1, 2025
Merged

Add full support for automatic/manual db migrations #1083

merged 2 commits into from
Mar 1, 2025

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented Mar 1, 2025

SQLite in-memory: auto migrated
SQLite file: auto-created and migrated if the file doesn't exist
Others: manually migrated

>> marvin db status
DATABASE CONFIGURATION
Database URL:   sqlite+aiosqlite:////Users/jlowin/.marvin/marvin.db
Database Type:  SQLite                                             

MIGRATION STATUS
Current Revision:  e772a112ae87          
Head Revision:     e772a112ae87          
Status:            Database is up to date

@github-actions github-actions bot added documentation Improvements or additions to documentation tests enhancement New feature or request feature Pull requests that add features labels Mar 1, 2025
@jlowin jlowin merged commit 45f2798 into main Mar 1, 2025
4 checks passed
@jlowin jlowin deleted the db branch March 1, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request feature Pull requests that add features tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant