Files
postgres-web/pgweb/lists/migrations/0002_listname_unique.py
Magnus Hagander cfcb543478 Make mailinglist name unique in the database
This should have been the case from the beginning, there are many things
that would break if this was not followed.
2017-07-08 21:31:12 +02:00

20 lines
409 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lists', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='mailinglist',
name='listname',
field=models.CharField(unique=True, max_length=64),
),
]