def drop_tables(skip_divisions=False):
    tables = connection.introspection.table_names()
    cursor = connection.cursor()
    for table in tables:
        if table.startswith('opencivicdata_'):
            print('dropping table ' + table)
            cursor.execute("DROP TABLE IF EXISTS {} CASCADE;".format(table))
        cursor.execute("DELETE FROM django_migrations WHERE app='opencivicdata';")
dataset/ETHPy150Open opencivicdata/pupa/pupa/cli/commands/dbinit.py/drop_tables/original