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:
+2
-2
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user