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

[Ready but not urgent] LF-4470: Write database migration for animal movement task #3501

Draft
wants to merge 1 commit into
base: integration
Choose a base branch
from

Conversation

SayakaOno
Copy link
Collaborator

Description

Create migration for animal movement task.

  • Create animal_movement_task table
  • Create animal_movement_task_purpose_relationship table
  • Create animal_movement_purpose table
  • Create animal_movement_task_animal_relationship table
  • Create animal_movement_task_animal_batch_relationship table
  • Add ANIMAL_MOVEMENT type to task_type table
  • Add location_id column to animal and animal_batch tables

Jira link: https://lite-farm.atlassian.net/browse/LF-4470

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Passes test case
  • UI components visually reviewed on desktop view
  • UI components visually reviewed on mobile view
  • Other (please explain)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The precommit and linting ran successfully
  • I have added or updated language tags for text that's part of the UI
  • I have added "MISSING" for all new language tags to languages I don't speak
  • I have added the GNU General Public License to all new files

@SayakaOno SayakaOno added the enhancement New feature or request label Oct 16, 2024
@SayakaOno SayakaOno self-assigned this Oct 16, 2024
* Create 'animal_movement_task' table
* Create 'animal_movement_task_purpose_relationship' table
* Create 'animal_movement_purpose' table
* Create 'animal_movement_task_animal_relationship' table
* Create 'animal_movement_task_animal_batch_relationship' table
* Add 'ANIMAL_MOVEMENT' type to 'task_type' table
* Add 'location_id' column to animal tables
@SayakaOno SayakaOno force-pushed the LF-4470/Write_database_migration_for_animal_movement_task branch from e6f2ebe to 8330d4f Compare October 17, 2024 20:45
@SayakaOno SayakaOno changed the title [WIP] LF-4470: Write database migration for animal movement task [Ready but not urgent] LF-4470: Write database migration for animal movement task Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant