forked from pyscada/PyScada
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete CalculatedVariable (moved to the pyscada.operations plugin)
in order to not loose your calculated variables you should install pyscada.operations plugin before running the pyscada migration 108.
- Loading branch information
1 parent
75a90e9
commit b5a5f8c
Showing
5 changed files
with
79 additions
and
741 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
17 changes: 17 additions & 0 deletions
17
pyscada/migrations/0107_alter_calculatedvariableselector_period_fields.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,17 @@ | ||
# Generated by Django 4.2.5 on 2023-12-14 11:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("pyscada", "0106_datasource_datasourcemodel_djangodatabase_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="calculatedvariableselector", | ||
name="period_fields", | ||
field=models.ManyToManyField(blank=True, to="pyscada.periodicfield"), | ||
), | ||
] |
44 changes: 44 additions & 0 deletions
44
pyscada/migrations/0108_remove_calculatedvariable_period_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,44 @@ | ||
# Generated by Django 4.2.5 on 2024-01-16 16:16 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("pyscada", "0107_alter_calculatedvariableselector_period_fields"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="calculatedvariable", | ||
name="period", | ||
), | ||
migrations.RemoveField( | ||
model_name="calculatedvariable", | ||
name="store_variable", | ||
), | ||
migrations.RemoveField( | ||
model_name="calculatedvariable", | ||
name="variable_calculated_fields", | ||
), | ||
migrations.RemoveField( | ||
model_name="calculatedvariableselector", | ||
name="main_variable", | ||
), | ||
migrations.RemoveField( | ||
model_name="calculatedvariableselector", | ||
name="period_fields", | ||
), | ||
migrations.DeleteModel( | ||
name="ExtendedCalculatedVariable", | ||
), | ||
migrations.DeleteModel( | ||
name="CalculatedVariable", | ||
), | ||
migrations.DeleteModel( | ||
name="CalculatedVariableSelector", | ||
), | ||
migrations.DeleteModel( | ||
name="PeriodicField", | ||
), | ||
] |
Oops, something went wrong.