Skip to content

Commit

Permalink
Add belated migration for SoR rename
Browse files Browse the repository at this point in the history
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
DavidCain committed May 9, 2022
1 parent c8a4cb8 commit 0bddf7a
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions ws/migrations/0041_sor_rename.py
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,
),
),
]

0 comments on commit 0bddf7a

Please sign in to comment.