Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Merge pull request #69 from willbarton/master
Browse files Browse the repository at this point in the history
Increase marker field max length
  • Loading branch information
willbarton committed Jun 3, 2016
2 parents 76eb680 + e376a65 commit e4e5012
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions regcore/migrations/0002_auto_20160603_1440.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('regcore', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='regulation',
name='marker',
field=models.CharField(default=b'', max_length=200),
),
]
2 changes: 1 addition & 1 deletion regcore/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Regulation(models.Model):
node_type = models.SlugField(max_length=10)
children = CompressedJSONField()
root = models.BooleanField(default=False, db_index=True)
marker = models.CharField(max_length=10, default='')
marker = models.CharField(max_length=200, default='')

class Meta:
index_together = (('version', 'label_string'),)
Expand Down

0 comments on commit e4e5012

Please sign in to comment.