Refactor checkin table to attendance table
Some checks failed
Build Backend (NixCN CMS) TeamCity build failed
Build Frontend (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-01 14:08:59 +08:00
parent acd3c95c80
commit 304e1d95ed
10 changed files with 279 additions and 323 deletions

View File

@@ -35,7 +35,7 @@ func Init() {
}
// Auto migrate
err = db.AutoMigrate(&User{}, &Event{})
err = db.AutoMigrate(&User{}, &Event{}, &Attendance{})
if err != nil {
log.Error("[Database] Error migrating database: ", err)
}