makemigrations for minor tweaks to User and Entry
This commit is contained in:
parent
2f8d62649e
commit
db0d6e28a3
2 changed files with 49 additions and 0 deletions
27
entries/migrations/0013_alter_entry_kind.py
Normal file
27
entries/migrations/0013_alter_entry_kind.py
Normal file
|
@ -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
|
||||
),
|
||||
),
|
||||
]
|
22
users/migrations/0016_alter_user_first_name.py
Normal file
22
users/migrations/0016_alter_user_first_name.py
Normal file
|
@ -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'
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue