diff options
Diffstat (limited to 'app/example/migrations')
-rw-r--r-- | app/example/migrations/0001_initial.py | 24 | ||||
-rw-r--r-- | app/example/migrations/__init__.py | 0 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app/example/migrations/0001_initial.py b/app/example/migrations/0001_initial.py new file mode 100644 index 0000000..a2f5d32 --- /dev/null +++ b/app/example/migrations/0001_initial.py @@ -0,0 +1,24 @@ +# Generated by Django 3.1.5 on 2021-01-10 16:06 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Person', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('first_name', models.CharField(max_length=50)), + ('last_name', models.CharField(max_length=50)), + ('date_of_birth', models.DateField()), + ('picture', models.ImageField(upload_to='')), + ], + ), + ] diff --git a/app/example/migrations/__init__.py b/app/example/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/example/migrations/__init__.py |