feat: fix bug and useing sqlite to store data

This commit is contained in:
2024-08-30 17:50:01 +08:00
parent e56260bdd6
commit 2e4996ef01
13 files changed
+185 -89

No files matched your search

@@ -0,0 +1,19 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/8/30
*/
package cn.rtast.fancybot.entity
import org.jetbrains.exposed.sql.Table
object SignTable : Table("sign") {
val id = integer("id").autoIncrement()
val userId = long("userId").uniqueIndex()
val timestamp = long("timestamp")
val point = long("point")
override val primaryKey = PrimaryKey(id)
}