refactor: UserAuthenticationを削除

This commit is contained in:
usbharu 2023-04-28 13:51:48 +09:00
parent f7beff3295
commit e040f6c811
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 0 additions and 21 deletions

View File

@ -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()
}