mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
Rename migration + revert function radiusoption
This commit is contained in:
parent
509390590b
commit
7318ee4758
2 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,9 @@ def create_radius_policy(apps, schema_editor):
|
|||
|
||||
radius_option.save()
|
||||
|
||||
def revert_radius(apps, schema_editor):
|
||||
pass
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
|
@ -29,5 +32,5 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunPython(create_radius_policy),
|
||||
migrations.RunPython(create_radius_policy, revert_radius),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue