"""A learner's own reading voice. It was a dropdown in the quiz player, beside the question — the one control on that screen with nothing to do with answering, and one a learner would set once and never touch again. That is a setting. Revision ID: e7f8091a2b3c Revises: d6e7f8091a2b """ import sqlalchemy as sa from alembic import op revision = "e7f8091a2b3c" down_revision = "d6e7f8091a2b" branch_labels = None depends_on = None def upgrade(): if "tts_voice" not in {c["name"] for c in sa.inspect(op.get_bind()).get_columns("users")}: op.add_column("users", sa.Column("tts_voice", sa.String(), nullable=True)) def downgrade(): op.drop_column("users", "tts_voice")