JS-P04/app/migrations/0001_initial.py
Kacper Donat 3a649df550 Whole app
2020-06-08 22:46:01 +02:00

30 lines
888 B
Python

# Generated by Django 3.0.7 on 2020-06-03 20:42
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Photo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('photo', models.ImageField(upload_to='gallery')),
('title', models.CharField(max_length=255)),
('description', models.TextField(null=True)),
('taken_on', models.DateField(null=True)),
],
options={
'abstract': False,
},
),
]