From 76b69104c27584de5e6bd20030317fd9e2e76c17 Mon Sep 17 00:00:00 2001 From: Vincent Porte Date: Tue, 26 Nov 2024 09:14:27 +0100 Subject: [PATCH] manage migration rollback Co-authored-by: leo-naeka --- lacommunaute/users/migrations/0004_run_management.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lacommunaute/users/migrations/0004_run_management.py b/lacommunaute/users/migrations/0004_run_management.py index c0d096bf..370c137e 100644 --- a/lacommunaute/users/migrations/0004_run_management.py +++ b/lacommunaute/users/migrations/0004_run_management.py @@ -21,5 +21,7 @@ class Migration(migrations.Migration): ] operations = [ - migrations.RunPython(cleanup_email_in_username), + migrations.RunPython(cleanup_email_in_username, migrations.RunPython.noop), ] + + elidable = True