How to add a new column after another existing column in flask-migrate?
How to add a new column after another existing column in flask-migrate? Question: flask-migrate detected my column changes and was able to successfully create and execute the migration. def upgrade(): # ### commands auto generated by Alembic – please adjust! ### with op.batch_alter_table(‘vtuber_info’, schema=None) as batch_op: batch_op.add_column(sa.Column(‘model’, sa.VARCHAR(length=128), server_default=”, nullable=False, comment=’model info’)) However, I found …