Sql
class Sql(val version: MigrationVersion?, val description: String, val script: String, val origin: String, val checksum: Long, val transactional: Boolean, val content: String) : DiscoveredMigration
A migration read out of a .sql file.
Constructors
Properties
Link copied to clipboard
The words after __, as they will be recorded.
Link copied to clipboard
How a migration is named in a message: V2 add indexes, or R rebuild views for a repeatable one.
Link copied to clipboard
Whether to wrap it in a transaction - false where the file asked not to be.
Link copied to clipboard
The version, or null where the name marked this repeatable.