From 173d7096784a447f2d5f4f6310b61b857943f9d9 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 30 Nov 2024 16:08:38 +0100 Subject: [PATCH] feat(migration): Add mod_message and notify fields to UserRegistration Introduces 'mod_message' field for storing moderation comments and 'notify' field for enabling notification settings in the UserRegistration model to enhance registration management. This allows for better tracking and communication related to user registration status and actions. --- ...ion_mod_message_userregistration_notify.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/synapse_registration/registration/migrations/0004_userregistration_mod_message_userregistration_notify.py diff --git a/src/synapse_registration/registration/migrations/0004_userregistration_mod_message_userregistration_notify.py b/src/synapse_registration/registration/migrations/0004_userregistration_mod_message_userregistration_notify.py new file mode 100644 index 0000000..6b6a30c --- /dev/null +++ b/src/synapse_registration/registration/migrations/0004_userregistration_mod_message_userregistration_notify.py @@ -0,0 +1,23 @@ +# Generated by Django 5.1.3 on 2024-11-30 15:08 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("registration", "0003_userregistration_timestamp_and_more"), + ] + + operations = [ + migrations.AddField( + model_name="userregistration", + name="mod_message", + field=models.TextField(blank=True, default=""), + ), + migrations.AddField( + model_name="userregistration", + name="notify", + field=models.BooleanField(default=True), + ), + ]