statementsRequiredToActualizeScheme
fun statementsRequiredToActualizeScheme(vararg tables: Table, withLogs: Boolean = true): List<String>
Returns the SQL statements that need to be executed to make the existing database schema compatible with the table objects defined using Exposed.
Note: Some dialects, like SQLite, do not support ALTER TABLE ADD COLUMN
syntax completely, which restricts the behavior when adding some missing columns. Please check the documentation.
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
.