aboutsummaryrefslogtreecommitdiffstats
path: root/api/migrations/0003_offtopicchannelname.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-01 17:54:38 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-01 17:54:38 +0200
commit717f3804d2998618b3c345bd9cbb4b42703858c9 (patch)
tree12c2e30a29dd052d9ca5e5c1525157e4b905216f /api/migrations/0003_offtopicchannelname.py
parentAdd the GET route. (diff)
Fix migration conflicts.
Diffstat (limited to 'api/migrations/0003_offtopicchannelname.py')
-rw-r--r--api/migrations/0003_offtopicchannelname.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/api/migrations/0003_offtopicchannelname.py b/api/migrations/0003_offtopicchannelname.py
new file mode 100644
index 00000000..2f19bfd8
--- /dev/null
+++ b/api/migrations/0003_offtopicchannelname.py
@@ -0,0 +1,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-]+$')])),
+ ],
+ ),
+ ]