Skip to content

Commit

Permalink
Merge pull request #5 from chasetb/master
Browse files Browse the repository at this point in the history
Fix model length for MySQL
  • Loading branch information
grahamgilbert committed Aug 11, 2015
2 parents bf16670 + 4779240 commit c12fce8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions server/migrations/0008_auto_20150811_1001.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 models, migrations


class Migration(migrations.Migration):

dependencies = [
('server', '0007_auto_20150811_0813'),
]

operations = [
migrations.AlterField(
model_name='plugin',
name='name',
field=models.CharField(unique=True, max_length=255),
),
]
2 changes: 1 addition & 1 deletion server/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class Meta:
unique_together = ("machine", "update")

class Plugin(models.Model):
name = models.CharField(max_length=256, unique=True)
name = models.CharField(max_length=255, unique=True)
order = models.IntegerField()
def __unicode__(self):
return self.name
Expand Down

0 comments on commit c12fce8

Please sign in to comment.