# Generated by Django 3.0.6 on 2020-06-22 06:44

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
    ]

    operations = [
        migrations.CreateModel(
            name='OpenGraph',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title_page', models.CharField(blank=True, max_length=100, null=True, verbose_name='Title')),
                ('description_page', models.CharField(blank=True, max_length=250, null=True, verbose_name='Description')),
                ('type_page', models.CharField(blank=True, max_length=60, null=True, verbose_name='Type')),
                ('image_page', models.ImageField(blank=True, null=True, upload_to='open_graph/', verbose_name='Image')),
                ('url_page', models.CharField(blank=True, max_length=1000, null=True, verbose_name='URL')),
                ('object_id', models.PositiveIntegerField()),
                ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
            ],
            options={
                'verbose_name': 'OpenGraph модуль',
                'verbose_name_plural': 'OpenGraph модуль',
            },
        ),
    ]
