mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-07-01 17:01:14 +03:00
doc
This commit is contained in:
parent
1fecae679a
commit
329c47ec2a
1
db/db.go
1
db/db.go
@ -42,6 +42,7 @@ func Migrate() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panicln(err)
|
log.Panicln(err)
|
||||||
}
|
}
|
||||||
|
// Get name without extension
|
||||||
name := strings.Split(splitted[1], ".")[0]
|
name := strings.Split(splitted[1], ".")[0]
|
||||||
|
|
||||||
if _, ok := dbMigrations[id]; !ok {
|
if _, ok := dbMigrations[id]; !ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user