mirror of https://github.com/usbharu/Hideout.git
Merge remote-tracking branch 'origin/repository-test' into repository-test
This commit is contained in:
commit
1e07807ebc
|
@ -19,4 +19,4 @@ class UriColumnType(val colLength: Int) : ColumnType<URI>() {
|
||||||
override fun notNullValueToDB(value: URI): Any = value.toString()
|
override fun notNullValueToDB(value: URI): Any = value.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Table.uri(name: String, colLength: Int): Column<URI> = registerColumn(name, UriColumnType(colLength))
|
fun Table.uri(name: String, colLength: Int): Column<URI> = registerColumn(name, UriColumnType(colLength))
|
||||||
|
|
Loading…
Reference in New Issue