Files
FancyBot/src/main/kotlin/cn/rtast/fancybot/db/ActionTable.kt
T

19 lines
425 B
Kotlin
Raw Normal View History

2024-10-02 21:02:05 +08:00
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/10/2
*/
package cn.rtast.fancybot.db
import org.jetbrains.exposed.sql.Table
2024-10-06 21:21:05 +08:00
object ActionTable : Table("action") {
2024-10-17 12:51:20 +08:00
val id = integer("id").autoIncrement()
val action = varchar("action", 255)
val timestamp = long("timestamp")
val triggerId = long("trigger_id")
val result = text("result")
2024-10-02 21:02:05 +08:00
override val primaryKey = PrimaryKey(id)
}