28 lines
446 B
Go
28 lines
446 B
Go
|
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{}
|
||
|
}
|