Skip to content

Commit

Permalink
Add newly generated migrations from Dev Heroku. (see #692)
Browse files Browse the repository at this point in the history
These are ones that Prod Heroku will also need.
They were generated by running makemigrations
--dry-run --verbosity 3 against Dev Heroku,
which outputs the entire migration files, which
were then copied to new local files and committed.
  • Loading branch information
jnga committed May 20, 2018
1 parent b0ac600 commit c99ae4d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
25 changes: 25 additions & 0 deletions gobotany/core/migrations/0005_auto_20180519_1746.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-05-19 21:46
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('core', '0004_auto_20180509_0721'),
]

operations = [
migrations.AlterField(
model_name='character',
name='unit',
field=models.CharField(blank=True, choices=[('m', 'Meters'), ('cm', 'Centimeters'), ('mm', 'Millimeters')], max_length=2, null=True),
),
migrations.AlterField(
model_name='character',
name='value_type',
field=models.CharField(choices=[('RATIO', 'Ratio'), ('TEXT', 'Textual'), ('LENGTH', 'Length')], max_length=10),
),
]
23 changes: 23 additions & 0 deletions gobotany/plantshare/migrations/0005_auto_20180519_1746.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-05-19 21:46
from __future__ import unicode_literals

from django.db import migrations
import gobotany.plantshare.models
import imagekit.models.fields
import storages.backends.s3boto


class Migration(migrations.Migration):

dependencies = [
('plantshare', '0004_auto_20180509_0721'),
]

operations = [
migrations.AlterField(
model_name='screenedimage',
name='image',
field=imagekit.models.fields.ProcessedImageField(storage=storages.backends.s3boto.S3BotoStorage(bucket=b'newfs', location=b'/upload_images'), upload_to=gobotany.plantshare.models.rename_image_by_type),
),
]

0 comments on commit c99ae4d

Please sign in to comment.