typo
parent
1587e58fb6
commit
2b6128ef9b
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue