From db0d6e28a30dd12b13f559f8f3f9460d6e43638e Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sat, 12 Mar 2022 15:27:59 +1100 Subject: [PATCH] makemigrations for minor tweaks to User and Entry --- entries/migrations/0013_alter_entry_kind.py | 27 +++++++++++++++++++ .../migrations/0016_alter_user_first_name.py | 22 +++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 entries/migrations/0013_alter_entry_kind.py create mode 100644 users/migrations/0016_alter_user_first_name.py diff --git a/entries/migrations/0013_alter_entry_kind.py b/entries/migrations/0013_alter_entry_kind.py new file mode 100644 index 0000000..6d254e1 --- /dev/null +++ b/entries/migrations/0013_alter_entry_kind.py @@ -0,0 +1,27 @@ +# Generated by Django 3.2.12 on 2022-03-12 04:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('entries', '0012_auto_20180628_2044'), + ] + + operations = [ + migrations.AlterField( + model_name='entry', + name='kind', + field=models.CharField( + choices=[ + ('note', 'note'), + ('article', 'article'), + ('photo', 'photo') + ], + db_index=True, + default='note', + max_length=30 + ), + ), + ] diff --git a/users/migrations/0016_alter_user_first_name.py b/users/migrations/0016_alter_user_first_name.py new file mode 100644 index 0000000..f5375ae --- /dev/null +++ b/users/migrations/0016_alter_user_first_name.py @@ -0,0 +1,22 @@ +# Generated by Django 3.2.12 on 2022-03-12 04:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0015_user_openid_sha256'), + ] + + operations = [ + migrations.AlterField( + model_name='user', + name='first_name', + field=models.CharField( + blank=True, + max_length=150, + verbose_name='first name' + ), + ), + ]