try fix api pg enum
continuous-integration/drone/push Build is passing Details

pull/8/head
Arthur VALIN 1 year ago
parent e813015ab2
commit 9ebc9aec4d

@ -70,6 +70,8 @@ class PostgresBetDataSource(private val database: Database) : BetDataSource {
set(it.theme, bet.theme)
set(it.isPrivate, bet.isPrivate)
set(it.createdBy, bet.createdBy)
set(it.status, bet.status)
set(it.theme, bet.theme)
}
if (bet.type == BetType.CUSTOM) {

@ -50,8 +50,8 @@ class PostgresDataSource : AllInDataSource() {
sentencebet varchar(500),
isprivate boolean,
createdby varchar(250),
status betstatus,
type bettype
status varchar(20),
type varchar(20)
)""".trimIndent()
)

Loading…
Cancel
Save