This commit is contained in:
Yanislav Igonin 2021-11-16 13:03:17 +02:00
parent 1fecae679a
commit 329c47ec2a

View File

@ -42,6 +42,7 @@ func Migrate() {
if err != nil {
log.Panicln(err)
}
// Get name without extension
name := strings.Split(splitted[1], ".")[0]
if _, ok := dbMigrations[id]; !ok {