-
Notifications
You must be signed in to change notification settings - Fork 5
Add missing migrations #946
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
Conversation
✅ Deploy Preview for antenna-preview canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses Django migration issues by adding missing migrations for the job model and updating a default setting to resolve a warning.
- Adds migration file to alter job model's logs and progress fields
- Updates ProjectFeatureFlags default from function reference to class reference
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
ami/main/models.py | Updates default parameter for feature_flags field from function to class |
ami/jobs/migrations/0017_alter_job_logs_alter_job_progress.py | Adds Django migration to alter job logs and progress fields with proper Pydantic schema configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
this is only a configuration change, it does not alter the DB schema
* Import cover images & external references (#838) * feat: management command for updating fields on existing Taxa from CSV * feat: try another title for example occurrence image * feat: allow manual filter for showing taxa without occurrences * feat: allow sorting by reference image for better demos * Fields for Taxon reference images (#822) * feat: add fields for Taxon cover images and Fieldguide ID * feat: add cover image fields to Taxon model for the UI * fix: look up existing taxa by name only * fix: update existing genus parents if their rank is wrong, don't crash * fix: don't allow empty CSV columns to clear existing data * fix: ensure all taxa in import list are added to taxa list in DB * fix: only keep changes related to importing taxa in this branch * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: missing migration after last commit in #946 this is only a configuration change, it does not alter the DB schema --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary