Add missing content type for text.
[wolnelektury.git] / src / redirects / migrations / 0001_initial.py
1 # Generated by Django 2.2.10 on 2020-04-30 08:11
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     initial = True
9
10     dependencies = [
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Redirect',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('slug', models.SlugField(unique=True)),
19                 ('url', models.CharField(max_length=255)),
20                 ('counter', models.IntegerField(default=0)),
21                 ('created_at', models.DateTimeField(auto_now_add=True)),
22             ],
23         ),
24     ]