Oskar Bechtold
Results
3
comments of
Oskar Bechtold
Same here. This solves it for me: ```python if 'password' in update_data and update_data["password"]: ```
I'm using the second version proposed by @maybe-sybr and it works like a charm. For downgrading I use: ```python def downgrade(): sa_enum = sa.Enum(name='my_enum') sa_enum.drop(op.get_bind(), checkfirst=True) ```
Same here