Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify database to support larger varchar fields on metadata_resource
- Loading branch information
1 parent
b116c2e
commit 216374d
Showing
1 changed file
with
34 additions
and
0 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,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), | ||
), | ||
] |