diff --git a/Sources/src/main/kotlin/allin/data/postgres/PostgresDataSource.kt b/Sources/src/main/kotlin/allin/data/postgres/PostgresDataSource.kt index 32adc22..d9240e8 100644 --- a/Sources/src/main/kotlin/allin/data/postgres/PostgresDataSource.kt +++ b/Sources/src/main/kotlin/allin/data/postgres/PostgresDataSource.kt @@ -58,6 +58,11 @@ class PostgresDataSource : AllInDataSource() { betid uuid PRIMARY KEY REFERENCES bet, result varchar(250) ) + """.trimIndent() + ) + + database.Execute( + """ CREATE TABLE IF NOT EXISTS betresultnotification ( betid uuid, username varchar(250),