chore: migrate to Exposed 1.0.0 and refactor UUID handling

Updated persistence layer to align with Exposed 1.0.0. Refactored table definitions to use `javaUUID` for consistency with `java.util.UUID`. Adjusted transaction handling for compatibility with the latest API changes. Enhanced error handling in database utility functions and refined pagination logic. Added documentation and migration updates for best practices with Exposed 1.0.0.
This commit is contained in:
2026-02-02 12:34:24 +01:00
parent d4f20df654
commit 55e5302e13
12 changed files with 238 additions and 62 deletions
@@ -37,9 +37,9 @@ class PingApiKoinClient(private val client: HttpClient) : PingApi {
return client.get("/api/ping/secure").body()
}
override suspend fun syncPings(lastSyncTimestamp: Long): List<PingEvent> {
override suspend fun syncPings(since: Long): List<PingEvent> {
return client.get("/api/ping/sync") {
url.parameters.append("lastSyncTimestamp", lastSyncTimestamp.toString())
url.parameters.append("lastSyncTimestamp", since.toString())
}.body()
}
}