Skip to content

Drop test tables

Temporary script to drop test tables.

2024-08-12 -- Some part of tests is creating some test tables and not removing them which is causing issues with alembic detecting schema changes. Until the issue is found and fixed, this script will drop those tables

engine = create_engine(uri) module-attribute

uri = db_uri_from_settings(asynchronous=False) module-attribute

drop_test_tables(conn)