Re: [sqlalchemy] Error dropping table with sequence on Postgres

2016-03-10 Thread Mike Bayer
On 03/10/2016 09:52 PM, Jay Camp wrote: Postgres: 9.4 SQLAlchemy: 1.0.11 When a sequence is created against a column, calling `metadata.drop_all()` tries to drop the sequence before dropping the table and fails because the table is still referencing the sequence. Manually dropping the table

[sqlalchemy] Error dropping table with sequence on Postgres

2016-03-10 Thread Jay Camp
Postgres: 9.4 SQLAlchemy: 1.0.11 When a sequence is created against a column, calling `metadata.drop_all()` tries to drop the sequence before dropping the table and fails because the table is still referencing the sequence. Manually dropping the table then dropping the sequence works. The