dropTable

suspend fun dropTable(table: Table): Int(source)

Deprecated

This function does not support analyzing dependencies among tables. Since this action is not frequently needed we can adopt the blocking approach. Use Exposed `SchemaUtils` and drop multiple tables in batch instead, temporarily.

Replace with

import org.jetbrains.exposed.sql.SchemaUtils
exposedTransaction { SchemaUtils.drop(table) }