mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
Пофиксил создание столбцов
This commit is contained in:
parent
57f49583b8
commit
3c579716c6
2 changed files with 4 additions and 6 deletions
|
@ -1,11 +1,10 @@
|
||||||
package su.redume.models
|
package su.redume.models
|
||||||
|
|
||||||
import org.jetbrains.exposed.sql.Table
|
import org.jetbrains.exposed.sql.Table
|
||||||
import org.jetbrains.exposed.sql.stringParam
|
|
||||||
|
|
||||||
object Crypto : Table() {
|
object Crypto : Table() {
|
||||||
val fromCurrecny = stringParam("fromCurrecny")
|
val fromCurrecny = varchar("fromCurrecny", 3)
|
||||||
val convCurrency = stringParam("convCurrency")
|
val convCurrency = varchar("convCurrency", 3)
|
||||||
val rate = float("rate")
|
val rate = float("rate")
|
||||||
val date = long("date")
|
val date = long("date")
|
||||||
}
|
}
|
|
@ -1,11 +1,10 @@
|
||||||
package su.redume.models
|
package su.redume.models
|
||||||
|
|
||||||
import org.jetbrains.exposed.sql.Table
|
import org.jetbrains.exposed.sql.Table
|
||||||
import org.jetbrains.exposed.sql.stringParam
|
|
||||||
|
|
||||||
object Fiat : Table() {
|
object Fiat : Table() {
|
||||||
val fromCurrecny = stringParam("fromCurrecny")
|
val fromCurrecny = varchar("fromCurrecny", 3)
|
||||||
val convCurrency = stringParam("convCurrency")
|
val convCurrency = varchar("convCurrency", 3)
|
||||||
val rate = float("rate")
|
val rate = float("rate")
|
||||||
val date = long("date")
|
val date = long("date")
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue