From ceb2eb59757c4aeb3fb3b2dce1b5d357b018e113 Mon Sep 17 00:00:00 2001 From: Sylvain Lehmann <sylvain@lehmann.dev> Date: Mon, 28 Jun 2021 14:37:36 +0200 Subject: [PATCH] remove template field --- .../migrations/0012_emailtemplatefield.py | 18 ------------------ djangoldp_notification/models.py | 1 - 2 files changed, 19 deletions(-) delete mode 100644 djangoldp_notification/migrations/0012_emailtemplatefield.py diff --git a/djangoldp_notification/migrations/0012_emailtemplatefield.py b/djangoldp_notification/migrations/0012_emailtemplatefield.py deleted file mode 100644 index 3dc5ec2..0000000 --- a/djangoldp_notification/migrations/0012_emailtemplatefield.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 2.2.22 on 2021-06-04 12:03 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('djangoldp_notification', '0011_auto_20210218_1145'), - ] - - operations = [ - migrations.AddField( - model_name='notification', - name='emailNotificationTemplate', - field=models.CharField(max_length=255, default='default'), - ), - ] diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index 120cfd3..a782aad 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -30,7 +30,6 @@ class Notification(Model): summary = models.TextField() date = models.DateTimeField(auto_now_add=True) unread = models.BooleanField(default=True) - emailNotificationTemplate = models.CharField(max_length=255, default='default') class Meta(Model.Meta): owner_field = 'user' -- GitLab