From 7dd7c575d76aa88320c6f3ca2aaa149e33d03ebe Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sun, 23 Sep 2018 15:21:37 +0200 Subject: Revert "Add the `Tag` model." This reverts commit b3a8093895c33e820c1193ece39bd10d1a4965ee. --- api/migrations/0006_tag.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 api/migrations/0006_tag.py (limited to 'api') diff --git a/api/migrations/0006_tag.py b/api/migrations/0006_tag.py deleted file mode 100644 index 903f334e..00000000 --- a/api/migrations/0006_tag.py +++ /dev/null @@ -1,25 +0,0 @@ -# Generated by Django 2.1.1 on 2018-09-01 21:20 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('api', '0005_user'), - ] - - operations = [ - migrations.CreateModel( - name='Tag', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('title', models.CharField(help_text='The title of this tag, displayed in the Embed.', max_length=256, unique=True)), - ('content', models.CharField(help_text='The content of this tag, displayed in the Embed.', max_length=2048)), - ('image_url', models.URLField(help_text='An optional image to display in the tag embed.', null=True)), - ('thumbnail_url', models.URLField(help_text='An optional thumbnail to display in the tag embed.', null=True)), - ('author', models.ForeignKey(help_text='The user that originally created this tag.', on_delete=django.db.models.deletion.CASCADE, to='api.Member')), - ], - ), - ] -- cgit v1.2.3