I have flask application with Flask-migrate. Running db upgrade
creates following tables:
List of relations
Schema | Name | Type | Owner
-------+-----------------+-------+----------
public | alembic_version | table | postgres
public | operations | table | postgres
public | rule_values | table | postgres
public | rules | table | postgres
public | shares | table | postgres
But when I drop all tables with:
db = SQLAlchemy(app)
db.drop_all()
I got this:
List of relations
Schema | Name | Type | Owner
-------+-----------------+-------+----------
public | alembic_version | table | postgres
Is there solution to drop all tables (even alembic_version
)?