From e040f6c8118646e25225db35cb5a55803ca84766 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Fri, 28 Apr 2023 13:51:48 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20UserAuthentication=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/model/UserAuthentication.kt | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/main/kotlin/dev/usbharu/hideout/domain/model/UserAuthentication.kt diff --git a/src/main/kotlin/dev/usbharu/hideout/domain/model/UserAuthentication.kt b/src/main/kotlin/dev/usbharu/hideout/domain/model/UserAuthentication.kt deleted file mode 100644 index 9dbd767f..00000000 --- a/src/main/kotlin/dev/usbharu/hideout/domain/model/UserAuthentication.kt +++ /dev/null @@ -1,21 +0,0 @@ -package dev.usbharu.hideout.domain.model - -import dev.usbharu.hideout.repository.Users -import org.jetbrains.exposed.dao.id.LongIdTable -import org.jetbrains.exposed.sql.ReferenceOption - -@Deprecated("") -data class UserAuthentication( - val userId: Long, - val hash: String?, - val publicKey: String, - val privateKey: String? -) - -@Deprecated("") -object UsersAuthentication : LongIdTable("users_auth") { - val userId = long("user_id").references(Users.id, onUpdate = ReferenceOption.CASCADE) - val hash = varchar("hash", length = 64).nullable() - val publicKey = varchar("public_key", length = 1000_000) - val privateKey = varchar("private_key", length = 1000_000).nullable() -}