From 4de1c966d6edc0683855202a0d209eae159e437c Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 18 Nov 2024 06:35:54 +0100 Subject: [PATCH] feat(migration): Add hidden field to Activity model Introduces a boolean field 'hidden' to the Activity model to allow activities to be marked as hidden. This can be utilized for filtering visible activities without deleting them from the database. --- mood/migrations/0002_activity_hidden.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mood/migrations/0002_activity_hidden.py diff --git a/mood/migrations/0002_activity_hidden.py b/mood/migrations/0002_activity_hidden.py new file mode 100644 index 0000000..e5786e9 --- /dev/null +++ b/mood/migrations/0002_activity_hidden.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0.6 on 2024-11-18 05:35 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("mood", "0001_initial"), + ] + + operations = [ + migrations.AddField( + model_name="activity", + name="hidden", + field=models.BooleanField(default=False), + ), + ]