aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/apps/api/migrations/0003_offtopicchannelname.py
blob: 2f19bfd8b0d414a87c67452747859c81c3611ab1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Generated by Django 2.1 on 2018-08-31 22:21

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0002_documentationlink'),
    ]

    operations = [
        migrations.CreateModel(
            name='OffTopicChannelName',
            fields=[
                ('name', models.CharField(max_length=96, primary_key=True, serialize=False, validators=[django.core.validators.RegexValidator(regex='^[a-z0-9-]+$')])),
            ],
        ),
    ]