Skip to content

Conversation

@stefan-burke
Copy link
Member

Move the operator (Controller/Owner) field from the units table to the inspections table. This reflects that the operator can change between inspections, making it more appropriate as an inspection-level attribute.

Changes:

  • Add operator column to inspections table
  • Migrate existing operator values from units to their inspections
  • Remove operator column from units table
  • Update models, controllers, helpers, views, and services
  • Update tests and factories to reflect new data location

Move the operator (Controller/Owner) field from the units table to the
inspections table. This reflects that the operator can change between
inspections, making it more appropriate as an inspection-level attribute.

Changes:
- Add operator column to inspections table
- Migrate existing operator values from units to their inspections
- Remove operator column from units table
- Update models, controllers, helpers, views, and services
- Update tests and factories to reflect new data location
Update badge_batches_spec and inspections_csv_completeness_spec
to remove operator from unit creation and expectations.
- Add operator text field to inspection form
- Add operator to USER_EDITABLE_PARAMS for form submission
- Remove operator from unit creation in inspection_unit_selection_spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants