-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat: database migrations, so long db resets #858
Conversation
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces significant enhancements to the database migration system using Alembic for a media management application. Key changes include the addition of a new Alembic configuration file, the establishment of a baseline database schema, and the implementation of improved logging and error handling mechanisms. New functions for resetting the database and managing migrations have been added, while redundant code has been removed to streamline the migration process. Additionally, command-line interface updates allow for pre-migration database resets, enhancing user control over database management. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Looks good man - great work |
@dreulavelle riven | alembic.util.exc.CommandError: Can't locate revision identified by '97cbe84f0c18' |
Please run the following command: |
For reference when running in compose and crashlooping as I was:
|
This should be really added to release notes! @dreulavelle |
Pull Request Check List
Resolves: #issue-number-here
Description:
Summary by CodeRabbit
Release Notes
New Features
--hard_reset_db_pre_migration
for pre-migration database resets.debug_database
in application settings.Enhancements
Bug Fixes
These updates enhance the database management capabilities and streamline migration processes, providing users with better control and diagnostics.