Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Feb 10, 2024
1 parent 14f94ed commit 42540ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def run_data_migration(apps, schema_editor):
Option = apps.get_model('options', 'Option')

for option in Option.objects.all():
option.additional_input = 'text' if option.additional_input == 'True' else ''
option.additional_input = 'text' if option.additional_input == 'true' else ''
option.save()


Expand Down

0 comments on commit 42540ef

Please sign in to comment.