mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Remove externallink field from Mailinglist model
This is not used for anything...
This commit is contained in:
18
pgweb/lists/migrations/0003_remove_list_externallink.py
Normal file
18
pgweb/lists/migrations/0003_remove_list_externallink.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('lists', '0002_listname_unique'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='mailinglist',
|
||||||
|
name='externallink',
|
||||||
|
),
|
||||||
|
]
|
@ -20,7 +20,6 @@ class MailingList(models.Model):
|
|||||||
group = models.ForeignKey(MailingListGroup, null=False)
|
group = models.ForeignKey(MailingListGroup, null=False)
|
||||||
listname = models.CharField(max_length=64, null=False, blank=False, unique=True)
|
listname = models.CharField(max_length=64, null=False, blank=False, unique=True)
|
||||||
active = models.BooleanField(null=False, default=False)
|
active = models.BooleanField(null=False, default=False)
|
||||||
externallink = models.URLField(max_length=200, null=True, blank=True)
|
|
||||||
description = models.TextField(null=False, blank=True)
|
description = models.TextField(null=False, blank=True)
|
||||||
shortdesc = models.TextField(null=False, blank=True)
|
shortdesc = models.TextField(null=False, blank=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user