Skip to content

Commit 4cb58c8

Browse files
committed
fix migration
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
1 parent 50ea3f3 commit 4cb58c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

authentik/events/migrations/0009_remove_notificationtransport_webhook_mapping_and_more.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ class Migration(migrations.Migration):
1111
]
1212

1313
operations = [
14-
migrations.RemoveField(
14+
migrations.RenameField(
1515
model_name="notificationtransport",
16-
name="webhook_mapping",
16+
old_name="webhook_mapping",
17+
new_name="webhook_mapping_body",
1718
),
18-
migrations.AddField(
19+
migrations.AlterField(
1920
model_name="notificationtransport",
2021
name="webhook_mapping_body",
2122
field=models.ForeignKey(

0 commit comments

Comments
 (0)