I'm working with Alembic with SQLAlchemy and I'm a newbie with Python.
Database: postgres with with postgis (with tiger schema and others)
I created a class into models.py file that define my tables.
class Adv(Base):
__tablename__ = 'advs'
__table_args__ = {"schema": "screech"}
id = Column(Integer, primary_key=True)
title = Column(String)
description = Column(String)
...
if I run
alembic revision --autogenerate -m "Create table advs"
, in the generated file I can see many rows like that
op.drop_table('place', schema='tiger')
that refer to all tables in the other schemas.
How can I avoid this behavior? I just want to add a table