-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add belated migration for SoR rename
Back in September, we renamed MITOC Rock Program back into School of Rock: 4aab6d9 I forgot to commit a migration changing the `choices` on a new trip's program. This is thankfully a no-op SQL-wise, so it's really no harm that it's coming in so late.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 3.2.13 on 2022-05-09 18:13 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ws', '0040_car_year_and_driving_self'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='trip', | ||
name='program', | ||
field=models.CharField( | ||
choices=[ | ||
( | ||
'Specific rating required', | ||
[ | ||
('biking', 'Biking'), | ||
('boating', 'Boating'), | ||
('cabin', 'Cabin'), | ||
('climbing', 'Climbing'), | ||
('hiking', '3-season hiking'), | ||
('mitoc_rock_program', 'School of Rock'), | ||
('winter_school', 'Winter School'), | ||
('winter_non_iap', 'Winter (outside IAP)'), | ||
], | ||
), | ||
( | ||
'Any leader rating allowed', | ||
[ | ||
('circus', 'Circus'), | ||
('service', 'Service'), | ||
('none', 'None'), | ||
], | ||
), | ||
], | ||
default='none', | ||
max_length=255, | ||
), | ||
), | ||
] |