createTable

suspend fun createTable(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 create multiple tables in batch instead, temporarily.

Replace with

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

See also

SchemaUtils.create