feat: add logging configuration and implement migration logic

This commit is contained in:
2026-04-03 23:05:19 -05:00
parent b04f1315af
commit fa7ea94979
3 changed files with 229 additions and 202 deletions

15
cmd/go_migrate/log.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"time"
log "github.com/sirupsen/logrus"
)
func configureLog() {
log.SetFormatter(&log.TextFormatter{
FullTimestamp: true,
TimestampFormat: time.StampMilli,
})
log.SetLevel(log.DebugLevel)
}