mirror of https://github.com/usbharu/Hideout.git
refactor: UserAuthenticationを削除
This commit is contained in:
parent
f7beff3295
commit
e040f6c811
|
@ -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()
|
||||
}
|
Loading…
Reference in New Issue