Fix downgrade script

This commit is contained in:
Rebecca Law
2017-05-31 10:35:27 +01:00
parent 1f6157eaf4
commit 566e56f888

View File

@@ -20,4 +20,5 @@ def upgrade():
def downgrade():
op.get_bind()
op.execute("delete from service_permissions where permission = 'schedule_notifications'")
op.execute("delete from service_permission_types where name = 'schedule_notifications'")