Skip to content

Commit

Permalink
Merge pull request #278 from RockefellerArchiveCenter/v1.1.1
Browse files Browse the repository at this point in the history
increase max_length of machine_file_size
  • Loading branch information
helrond authored Nov 29, 2018
2 parents f7ce713 + 138f603 commit 7fa4c0e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions aurora/bag_transfer/migrations/0017_auto_20181129_1126.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-11-29 16:26
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('bag_transfer', '0016_auto_20181120_0902'),
]

operations = [
migrations.AlterField(
model_name='archives',
name='machine_file_path',
field=models.CharField(max_length=300),
),
]
2 changes: 1 addition & 1 deletion aurora/bag_transfer/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class Archives(models.Model):
accession = models.ForeignKey('Accession', related_name="accession_transfers", null=True, blank=True)
organization = models.ForeignKey(Organization, related_name="transfers")
user_uploaded = models.ForeignKey(User, null=True)
machine_file_path = models.CharField(max_length=100)
machine_file_path = models.CharField(max_length=300)
machine_file_size = models.CharField(max_length=30)
machine_file_upload_time = models.DateTimeField()
machine_file_identifier = models.CharField(max_length=255, unique=True)
Expand Down

0 comments on commit 7fa4c0e

Please sign in to comment.