removed keyword created by as it was never populated
This commit is contained in:
17
cookbook/migrations/0074_remove_keyword_created_by.py
Normal file
17
cookbook/migrations/0074_remove_keyword_created_by.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 3.0.7 on 2020-07-09 19:54
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cookbook', '0073_auto_20200708_2311'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='keyword',
|
||||||
|
name='created_by',
|
||||||
|
),
|
||||||
|
]
|
@ -115,7 +115,6 @@ class Keyword(models.Model):
|
|||||||
name = models.CharField(max_length=64, unique=True)
|
name = models.CharField(max_length=64, unique=True)
|
||||||
icon = models.CharField(max_length=16, blank=True, null=True)
|
icon = models.CharField(max_length=16, blank=True, null=True)
|
||||||
description = models.TextField(default="", blank=True)
|
description = models.TextField(default="", blank=True)
|
||||||
created_by = models.IntegerField(default=0)
|
|
||||||
created_at = models.DateTimeField(auto_now_add=True)
|
created_at = models.DateTimeField(auto_now_add=True)
|
||||||
updated_at = models.DateTimeField(auto_now=True)
|
updated_at = models.DateTimeField(auto_now=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user