Fixes #24 - Set Student.birth_date as nullable in DB
This commit is contained in:
parent
685663cfd6
commit
54e85b744f
2 changed files with 17 additions and 1 deletions
16
stages/migrations/0003_student_birthdate_nullable.py
Normal file
16
stages/migrations/0003_student_birthdate_nullable.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0002_add_student_option_ase'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='student',
|
||||
name='birth_date',
|
||||
field=models.DateField(blank=True, null=True, verbose_name='Date de naissance'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue