From 79b4d0d4b38aab007976a6b344d5bdadf7a4ba8b Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Thu, 5 Sep 2024 13:46:43 +0200 Subject: [PATCH] users: drop User.birthdate field for real --- .../0013_drop_users_user_birthdate_for_real.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 itou/users/migrations/0013_drop_users_user_birthdate_for_real.py diff --git a/itou/users/migrations/0013_drop_users_user_birthdate_for_real.py b/itou/users/migrations/0013_drop_users_user_birthdate_for_real.py new file mode 100644 index 0000000000..292221e430 --- /dev/null +++ b/itou/users/migrations/0013_drop_users_user_birthdate_for_real.py @@ -0,0 +1,14 @@ +# Generated by Django 5.0.8 on 2024-09-05 11:44 + +from django.db import migrations + + +class Migration(migrations.Migration): + dependencies = [ + ("users", "0012_remove_user_birthdate"), + ] + + operations = [ + # TODO(xfernandez): merge this with 0012_remove_user_birthdate once run in production + migrations.RunSQL('ALTER TABLE "users_user" DROP COLUMN birthdate;', elidable=True), + ]