# Generated by Django 3.2.7 on 2021-09-17 14:36

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ShortLink',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('time_of_creation', models.DateTimeField(auto_now_add=True)),
                ('count_url', models.PositiveIntegerField(default=0)),
                ('longer_url', models.URLField()),
                ('shorter_url', models.CharField(blank=True, max_length=6, unique=True)),
            ],
            options={
                'ordering': ['-time_of_creation'],
            },
        ),
    ]
