addMissingColumnsStatements

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

Returns the SQL statements that create any columns defined in tables, which are missing from the existing tables in the database.

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.

Note: Some dialects, like SQLite, do not support ALTER TABLE ADD COLUMN syntax completely. Please check the documentation.