mirror of https://github.com/usbharu/Hideout.git
feat: 忘れていたプライマリキーの指定を追加
This commit is contained in:
parent
90da507e41
commit
7567cd6dcd
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue