[jOOQ/jOOQ#6182] Support renaming Indexes with matcher strategy

This commit is contained in:
Lukas Eder 2023-08-23 15:03:05 +02:00
parent 6255dd6809
commit 301b9749f4

View File

@ -94,6 +94,17 @@ fun MutableList<MatchersTableType>.table(block: MatchersTableType.() -> Unit) {
add(e)
}
fun Matchers.indexes(block: MutableList<MatchersIndexType>.() -> Unit) {
block(indexes)
}
@JvmName("mutableListMatchersIndexType")
fun MutableList<MatchersIndexType>.indexe(block: MatchersIndexType.() -> Unit) {
val e = MatchersIndexType()
block(e)
add(e)
}
fun Matchers.primaryKeys(block: MutableList<MatchersPrimaryKeyType>.() -> Unit) {
block(primaryKeys)
}