Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Jun 20, 2018
1 parent d016d15 commit e9bce2c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 57 deletions.
2 changes: 1 addition & 1 deletion dispatch/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100, unique=True)),
('slug', models.SlugField(unique=True)),
],
),
migrations.CreateModel(
Expand All @@ -198,6 +197,7 @@ class Migration(migrations.Migration):
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
('last_used', models.DateTimeField(null=True)),
('slug', models.SlugField(unique=True)),
],
),
migrations.CreateModel(
Expand Down
2 changes: 1 addition & 1 deletion dispatch/migrations/0008_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Migration(migrations.Migration):
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=255)),
('file', models.FileField(upload_to=b'issues/%Y/%m')),
('img', models.ImageField(default='', upload_to=b'images/%Y/%m')),
('img', models.ImageField(upload_to=b'images/%Y/%m')),
('issue', models.PositiveIntegerField(null=True)),
('volume', models.PositiveIntegerField(null=True)),
('date', models.DateTimeField()),
Expand Down
20 changes: 0 additions & 20 deletions dispatch/migrations/0009_auto_20180517_1222.py

This file was deleted.

32 changes: 0 additions & 32 deletions dispatch/migrations/0009_auto_20180529_1617.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class Migration(migrations.Migration):

dependencies = [
('dispatch', '0009_auto_20180517_1222'),
('dispatch', '0008_issue'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class Migration(migrations.Migration):

dependencies = [
('dispatch', '0010_image_tags'),
('dispatch', '0009_image_tags'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class Migration(migrations.Migration):

dependencies = [
('dispatch', '0011_article_featured_video'),
('dispatch', '0010_article_featured_video'),
]

operations = [
Expand Down

0 comments on commit e9bce2c

Please sign in to comment.