feat: 忘れていたプライマリキーの指定を追加

This commit is contained in:
usbharu 2024-01-27 11:27:04 +09:00
parent f614dc7eaf
commit 94943c009e
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 2 additions and 0 deletions

View File

@ -82,4 +82,6 @@ object Notifications : Table("notifications") {
val text = varchar("text", 3000).nullable()
val reactionId = long("reaction_id").references(Reactions.id).nullable()
val createdAt = timestamp("created_at")
override val primaryKey: PrimaryKey = PrimaryKey(id)
}