Skip to content

Commit

Permalink
Merge pull request #3827 from BirkbeckCTP/b_1_5_1
Browse files Browse the repository at this point in the history
Fix bad migrations on repository
  • Loading branch information
mauromsl authored Dec 12, 2023
2 parents d4cb596 + b6767b6 commit c368e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/repository/migrations/0040_auto_20231207_1002.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='historicalrepository',
name='theme',
field=models.CharField(choices=[('material', 'material'), ('OLH', 'OLH')], default='material', max_length=20),
field=models.CharField(choices=[('OLH', 'OLH'), ('material', 'material')], default='OLH', max_length=20),
),
migrations.AddField(
model_name='repository',
name='theme',
field=models.CharField(choices=[('material', 'material'), ('OLH', 'OLH')], default='OLH', max_length=20),
field=models.CharField(choices=[('OLH', 'OLH'), ('material', 'material')], default='OLH', max_length=20),
),
migrations.AlterField(
model_name='preprintversion',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def add_default_recommendations(apps, schema_editor):
class Migration(migrations.Migration):

dependencies = [
('repository', '0039_alter_preprintversion_title'),
('repository', '0040_auto_20231207_1002'),
]

operations = [
Expand Down

0 comments on commit c368e02

Please sign in to comment.