[jOOQ/jOOQ#6182] Support renaming Indexes with matcher strategy
This commit is contained in:
parent
6255dd6809
commit
301b9749f4
@ -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)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user