dropUnmappedSequences

suspend fun dropUnmappedSequences(vararg tables: Table, withLogs: Boolean = true): List<String>

Returns the SQL statements that drop any sequences that exist in the database but are not defined in tables.

By default, a description for each intermediate step, as well as its execution time, is logged at the INFO level. This can be disabled by setting withLogs to false.

Return

A list of SQL DROP SEQUENCE statements for unmapped sequences

Parameters

tables

The table definitions to check for unmapped sequences

withLogs

Whether to log intermediate steps and execution time. Defaults to true