From 9290cf8b7da54ca6303f5bb796d5e9c8e0f7f880 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Fri, 15 Mar 2024 16:15:34 +0100 Subject: [PATCH] Fix rename of fields in models inherited from DAB No-Issue --- ...remove_organization_created_on_and_more.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 galaxy_ng/app/migrations/0051_remove_organization_created_on_and_more.py diff --git a/galaxy_ng/app/migrations/0051_remove_organization_created_on_and_more.py b/galaxy_ng/app/migrations/0051_remove_organization_created_on_and_more.py new file mode 100644 index 0000000000..62824d116b --- /dev/null +++ b/galaxy_ng/app/migrations/0051_remove_organization_created_on_and_more.py @@ -0,0 +1,31 @@ +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("galaxy", "0050_organization_data"), + ] + + operations = [ + migrations.RenameField( + model_name="organization", + old_name="created_on", + new_name="created", + ), + migrations.RenameField( + model_name="organization", + old_name="modified_on", + new_name="modified", + ), + migrations.RenameField( + model_name="team", + old_name="created_on", + new_name="created" + ), + migrations.RenameField( + model_name="team", + old_name="modified_on", + new_name="modified", + ), + ]