SqlMigrationRules

internal object SqlMigrationRules

What a .sql migration is allowed to say, checked while the database is still untouched.

Functions

Link copied to clipboard
fun readTransactionality(content: String, origin: String): Boolean

Whether content wants a transaction, which is everything except a file that said otherwise.

Link copied to clipboard
fun refuseTransactionControl(content: String, origin: String)

Refuses a script that opens, commits or rolls back a transaction of its own.