Fix kyc info and data and api handler
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -38,7 +38,7 @@ func Init(ctx context.Context) {
|
||||
}
|
||||
|
||||
// Auto migrate
|
||||
err = db.AutoMigrate(&User{}, &Event{}, &Attendance{}, &Client{})
|
||||
err = db.AutoMigrate(&User{}, &Event{}, &Attendance{}, &Client{}, &Kyc{})
|
||||
if err != nil {
|
||||
slog.ErrorContext(ctx, "[Database] Error migrating database!", "err", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user