Skip to content

Commit

Permalink
modify database to support larger varchar fields on metadata_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeypants committed Aug 9, 2015
1 parent b116c2e commit 216374d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions metadata/migrations/0005_auto_20150809_1158.py
@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('metadata', '0004_auto_20150728_1500'),
]

operations = [
migrations.AlterField(
model_name='resource',
name='_hash',
field=models.CharField(max_length=512, null=True, db_column=b'hash', blank=True),
),
migrations.AlterField(
model_name='resource',
name='contenttype',
field=models.CharField(max_length=512, null=True, blank=True),
),
migrations.AlterField(
model_name='resource',
name='host',
field=models.CharField(max_length=512, null=True, blank=True),
),
migrations.AlterField(
model_name='resource',
name='url',
field=models.CharField(max_length=1024),
),
]

0 comments on commit 216374d

Please sign in to comment.