Skip to content

Commit

Permalink
Delete old replaced migrations (#4378)
Browse files Browse the repository at this point in the history
* Django FSM migration to Viewflow

- Added new `django-viewflow` and `django-filter` dependencies to `requirements.txt`.
- New file `viewflow.py` under `/audit/models/` which contains the FSM logic for transitioning an SAC.
- Moved `STATUS` enumeration outside of the `SingleAuditChecklist` class. This required import/reference changes across many files and tests.
- Removed references of old deprecated library `django-fsm`.
- New migration to handle the changing the SAC's `submission_name` field to remove dependency on the deprecated `django-fsm`.

* Git conflicts with #4292

* Squash migrations

* Remove django-fsm requirement

* Update requirements.txt

* Re-add django-fsm dependency

This cannot be done until the migration squash is deployed to production.

* Remove replaced migrations
  • Loading branch information
rnovak338 authored Oct 15, 2024
1 parent 5d66f8a commit 8d59859
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 1,123 deletions.
472 changes: 0 additions & 472 deletions backend/audit/migrations/0001_initial.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@

class Migration(migrations.Migration):

replaces = [
("audit", "0001_initial"),
("audit", "0002_alter_singleauditchecklist_report_id"),
("audit", "0003_alter_singleauditchecklist_data_source_and_more"),
("audit", "0004_alter_singleauditchecklist_cognizant_agency_and_more"),
("audit", "0005_alter_submissionevent_event"),
("audit", "0006_deletedaccess"),
("audit", "0007_alter_deletedaccess_options_and_more"),
("audit", "0008_alter_submissionevent_event"),
("audit", "0009_ueivalidationwaiver_sacvalidationwaiver"),
("audit", "0010_alter_ueivalidationwaiver_uei"),
("audit", "0011_ueivalidationwaiver_expiration_and_more"),
("audit", "0012_alter_sacvalidationwaiver_waiver_types"),
("audit", "0013_singleauditchecklistflow_and_more"),
]

initial = True

dependencies = [
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

59 changes: 0 additions & 59 deletions backend/audit/migrations/0005_alter_submissionevent_event.py

This file was deleted.

84 changes: 0 additions & 84 deletions backend/audit/migrations/0006_deletedaccess.py

This file was deleted.

This file was deleted.

78 changes: 0 additions & 78 deletions backend/audit/migrations/0008_alter_submissionevent_event.py

This file was deleted.

Loading

0 comments on commit 8d59859

Please sign in to comment.