diff options
author | 2019-04-05 12:11:31 +0100 | |
---|---|---|
committer | 2019-04-05 12:11:31 +0100 | |
commit | ebda74029355ce3236ca9266acde40fd40329df7 (patch) | |
tree | aba491f902c874328c88b8e7ccb9772b5414c17f /api/migrations/0030_reminder.py | |
parent | Set `harakiri = 30`. (diff) |
[#176] Redo project layout
Diffstat (limited to 'api/migrations/0030_reminder.py')
-rw-r--r-- | api/migrations/0030_reminder.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/api/migrations/0030_reminder.py b/api/migrations/0030_reminder.py deleted file mode 100644 index f0c14ccb..00000000 --- a/api/migrations/0030_reminder.py +++ /dev/null @@ -1,28 +0,0 @@ -# Generated by Django 2.1.5 on 2019-01-22 22:17 - -import api.models -import django.core.validators -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('api', '0029_add_infraction_type_watch'), - ] - - operations = [ - migrations.CreateModel( - name='Reminder', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('active', models.BooleanField(default=True, help_text='Whether this reminder is still active. If not, it has been sent out to the user.')), - ('channel_id', models.BigIntegerField(help_text='The channel ID that this message was sent in, taken from Discord.', validators=[django.core.validators.MinValueValidator(limit_value=0, message='Channel IDs cannot be negative.')])), - ('content', models.CharField(help_text='The content that the user wants to be reminded of.', max_length=1500)), - ('expiration', models.DateTimeField(help_text='When this reminder should be sent.')), - ('author', models.ForeignKey(help_text='The creator of this reminder.', on_delete=django.db.models.deletion.CASCADE, to='api.User')), - ], - bases=(api.models.ModelReprMixin, models.Model), - ), - ] |