API - fix migration

This commit is contained in:
Sam 2021-09-01 14:34:32 +02:00
parent 2194e8f4de
commit 68dc55f385

View File

@ -34,6 +34,10 @@ def downgrade():
op.execute(
"""
DELETE FROM sports
WHERE label = 'Mountain Biking (Electric)';
WHERE label = 'Mountain Biking (Electric)'
OR label = 'Trail'
OR label = 'Skiing (Alpine)'
OR label = 'Skiing (Cross Country)'
OR label = 'Rowing';
"""
)
)