mirror of
https://github.com/MarcZierle/photo-log-backend.git
synced 2025-01-06 06:27:57 +00:00
27 lines
1.0 KiB
Python
27 lines
1.0 KiB
Python
# Generated by Django 3.2.8 on 2022-01-13 13:32
|
|
|
|
import datetime
|
|
import django.contrib.postgres.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('photo_log', '0004_alter_photo_group'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PhotoLog',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=5000)),
|
|
('date', models.DateField(default=datetime.date.today)),
|
|
('render_date', models.BooleanField(blank=True, default=True)),
|
|
('start_slide_image', models.IntegerField(blank=True, default=3, null=True)),
|
|
('slides', django.contrib.postgres.fields.ArrayField(base_field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(null=True), blank=True, null=True, size=3), size=None)),
|
|
],
|
|
),
|
|
]
|