Skip to content

Commit

Permalink
ubccr#294: Recreated allocation change request migration file so that…
Browse files Browse the repository at this point in the history
… the 'is_changable' field is explicitly added (not having this was causing issues for existing ColdFront installations)
  • Loading branch information
brisco17 committed Nov 2, 2021
1 parent 751f4c6 commit ff75543
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 0 additions & 2 deletions coldfront/core/allocation/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class Migration(migrations.Migration):
('is_required', models.BooleanField(default=False)),
('is_unique', models.BooleanField(default=False)),
('is_private', models.BooleanField(default=True)),
('is_changeable', models.BooleanField(default=False)),
],
options={
'ordering': ['name'],
Expand Down Expand Up @@ -167,7 +166,6 @@ class Migration(migrations.Migration):
('is_required', models.BooleanField(default=False)),
('is_unique', models.BooleanField(default=False)),
('is_private', models.BooleanField(default=True)),
('is_changeable', models.BooleanField(default=False)),
('history_id', models.AutoField(primary_key=True, serialize=False)),
('history_date', models.DateTimeField()),
('history_change_reason', models.CharField(max_length=100, null=True)),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 2.2.18 on 2021-10-29 08:12
# Generated by Django 2.2.18 on 2021-11-02 14:17

from django.conf import settings
from django.db import migrations, models
Expand Down Expand Up @@ -47,11 +47,21 @@ class Migration(migrations.Migration):
name='is_changeable',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='allocationattributetype',
name='is_changeable',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='historicalallocation',
name='is_changeable',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='historicalallocationattributetype',
name='is_changeable',
field=models.BooleanField(default=False),
),
migrations.CreateModel(
name='HistoricalAllocationChangeRequest',
fields=[
Expand Down

0 comments on commit ff75543

Please sign in to comment.