diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/CustomEmojiRepositoryImpl.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/CustomEmojiRepositoryImpl.kt index c377d721..a73378ad 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/CustomEmojiRepositoryImpl.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/exposedrepository/CustomEmojiRepositoryImpl.kt @@ -110,7 +110,7 @@ object CustomEmojis : Table("emojis") { val instanceId = long("instance_id").references(Instance.id).nullable() val url = varchar("url", 255).uniqueIndex() val category = varchar("category", 255).nullable() - val createdAt = timestamp("created_at").defaultExpression(CurrentTimestamp()) + val createdAt = timestamp("created_at").defaultExpression(CurrentTimestamp) override val primaryKey: PrimaryKey = PrimaryKey(id) diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/oauth2/RegisteredClientRepositoryImpl.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/oauth2/RegisteredClientRepositoryImpl.kt index 2ea06e5c..68a3177d 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/oauth2/RegisteredClientRepositoryImpl.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/oauth2/RegisteredClientRepositoryImpl.kt @@ -190,7 +190,7 @@ class RegisteredClientRepositoryImpl : RegisteredClientRepository { object RegisteredClient : Table("registered_client") { val id: Column = varchar("id", 100) val clientId: Column = varchar("client_id", 100) - val clientIdIssuedAt: Column = timestamp("client_id_issued_at").defaultExpression(CurrentTimestamp()) + val clientIdIssuedAt: Column = timestamp("client_id_issued_at").defaultExpression(CurrentTimestamp) val clientSecret: Column = varchar("client_secret", 200).nullable().default(null) val clientSecretExpiresAt: Column = timestamp("client_secret_expires_at").nullable().default(null) val clientName: Column = varchar("client_name", 200) diff --git a/libs.versions.toml b/libs.versions.toml index 76d37e4d..6c326cb3 100644 --- a/libs.versions.toml +++ b/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "1.9.24" ktor = "2.3.9" -exposed = "0.49.0" +exposed = "0.50.1" javacv-ffmpeg = "6.1.1-1.5.10" detekt = "1.23.6" coroutines = "1.8.1"