refactor api
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-08 03:09:24 +02:00
parent f4ce568aa8
commit 928c9888dd
5 changed files with 29 additions and 19 deletions

View File

@ -7,8 +7,7 @@ import java.time.LocalDate
object ResultObjects : IntIdTable() {
val tag: Column<String> = varchar("tag",32)
val date: Column<LocalDate> = date("date")
val decision: Column<Boolean> = bool("decision")
val confidence: Column<Double> = double("confidence")
val date: Column<LocalDate> = date("date").default(LocalDate.now())
val probability: Column<Double> = double("probability")
override val primaryKey = PrimaryKey(id, name = "PK_ResultObject_Id")
}