-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the max_length of CodeType.code & NameType.code
This is because the name of the 'local-authority-eng' is longer than the previous 10 characters allowed.
- Loading branch information
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.1 on 2016-12-05 14:19 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('mapit', '0002_auto_20141218_1615'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='codetype', | ||
name='code', | ||
field=models.CharField(help_text="A unique code, eg 'ons' or 'unit_id'", max_length=500, unique=True), | ||
), | ||
migrations.AlterField( | ||
model_name='nametype', | ||
name='code', | ||
field=models.CharField(help_text="A unique code to identify this type of name: eg 'english' or 'iso'", max_length=500, unique=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters