bump version and cleanup migration tool for previous version (#19)

This commit is contained in:
Tiger Wang
2022-11-02 11:05:42 -04:00
committed by GitHub
parent 7da057088c
commit e2d9ecf229
7 changed files with 33 additions and 616 deletions
+27
View File
@@ -0,0 +1,27 @@
package main
import (
interfaces "github.com/IceWhaleTech/CasaOS-Common"
)
type migrationTool struct{}
func (u *migrationTool) IsMigrationNeeded() (bool, error) {
return false, nil
}
func (u *migrationTool) PreMigrate() error {
return nil
}
func (u *migrationTool) Migrate() error {
return nil
}
func (u *migrationTool) PostMigrate() error {
return nil
}
func NewMigrationDummy() interfaces.MigrationTool {
return &migrationTool{}
}