SQLAlchemy hangs when sending ALTER TABLE
I’m trying to add a column to a PostgreSQL table with SQLAlchemy. I read on a couple threads that the simplest way to do this is to send plain SQL rather than modifying the Table object. My query is really basic: import sqlalchemy engine = create_engine("postgresql://user@host:port/db") query = sqlalchemy.text("alter table schema.table add column if not