-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #970 from spack/remove-legacy-models
Remove legacy models
- Loading branch information
Showing
8 changed files
with
69 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
139 changes: 0 additions & 139 deletions
139
analytics/analytics/core/management/commands/migrate_job_attempt.py
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
...alytics/core/migrations/0021_delete_legacyerrortaxonomy_remove_legacyjob_node_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated by Django 4.2.13 on 2024-10-10 19:55 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0020_remove_jobdatadimension_is_build_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name="LegacyErrorTaxonomy", | ||
), | ||
migrations.RemoveField( | ||
model_name="legacyjob", | ||
name="node", | ||
), | ||
migrations.RemoveField( | ||
model_name="legacyjob", | ||
name="pod", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyJobAttempt", | ||
), | ||
migrations.RemoveField( | ||
model_name="legacytimer", | ||
name="job", | ||
), | ||
migrations.RemoveField( | ||
model_name="legacytimerphase", | ||
name="timer", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyJob", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyJobPod", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyNode", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyTimer", | ||
), | ||
migrations.DeleteModel( | ||
name="LegacyTimerPhase", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
from analytics.core.models.dimensions import * # noqa: F403 | ||
from analytics.core.models.facts import * # noqa: F403 | ||
from analytics.core.models.legacy import * # noqa: F403 |
Oops, something went wrong.