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

This commit is contained in:
usbharu 2024-01-27 11:27:04 +09:00
parent 90da507e41
commit 7567cd6dcd
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 text = varchar("text", 3000).nullable()
val reactionId = long("reaction_id").references(Reactions.id).nullable() val reactionId = long("reaction_id").references(Reactions.id).nullable()
val createdAt = timestamp("created_at") val createdAt = timestamp("created_at")
override val primaryKey: PrimaryKey = PrimaryKey(id)
} }