master
Evan Chen 2022-01-03 00:50:21 +08:00
parent 1587e58fb6
commit 2b6128ef9b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func (srv Service) Init() error {
rand.Seed(time.Now().UnixNano())
db = store.DB
l = util.Klog.With().Str("mod", "auth").Logger()
l = util.Klog.With().Str("mod", "calendar").Logger()
l.Debug().Msg("Migrating database for calendar.Service ...")
if err := store.Migrate(&Calendar{}, &EventGroup{}, &Event{}); err != nil {
l.Error().Err(err).Msg("Migrating database")