gui-for-ffmpeg/src/migration/migration.go
Leonid Nikitin 3dc59344cb
Fix command "fyne get ..."
Renamed the module to git.kor-elf.net/kor-elf/gui-for-ffmpeg/src.
2024-02-04 21:00:55 +06:00

16 lines
222 B
Go

package migration
import (
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/src/setting"
"gorm.io/gorm"
)
func Run(db *gorm.DB) error {
err := db.AutoMigrate(&setting.Setting{})
if err != nil {
return err
}
return nil
}