mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 13:11:08 -05:00
fix: resolve broken migration dependencies and references after company app removal
- Updated migration files to remove references to the old `companies` app and replace them with new app dependencies (`operators` and `manufacturers`). - Fixed foreign key references in migration files to point to the correct models in the new apps. - Updated import statements in management commands and test files to reflect the new app structure. - Completed a thorough validation of the migration system to ensure full functionality and operational status.
This commit is contained in:
@@ -13,7 +13,7 @@ class Migration(migrations.Migration):
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
("companies", "0001_initial"),
|
||||
("operators", "0001_initial"),
|
||||
("pghistory", "0006_delete_aggregateevent"),
|
||||
]
|
||||
|
||||
@@ -200,7 +200,7 @@ class Migration(migrations.Migration):
|
||||
on_delete=django.db.models.deletion.DO_NOTHING,
|
||||
related_name="+",
|
||||
related_query_name="+",
|
||||
to="companies.company",
|
||||
to="operators.operator",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user