70ba4d5e3d
* Add registration route * add route registration * remove ui * 0.3.6 build scaffold (#473) * wip * wip * wip * Merge Branches * Update helper.sh * add goreleaser * fix migration not working for LEGACY_WITHOUT_VERSION (#479) * wip * wip * add error handling to migration script * add migration tool * Adjusting shell script location * update disk user authentication method * delayed port modification * Update system.go Co-authored-by: Tiger Wang (王豫) <tigerwang@outlook.com>
18 lines
446 B
Go
18 lines
446 B
Go
/*
|
|
* @Author: LinkLeong link@icewhale.org
|
|
* @Date: 2022-08-24 17:37:36
|
|
* @LastEditors: LinkLeong
|
|
* @LastEditTime: 2022-08-24 17:38:48
|
|
* @FilePath: /CasaOS/interfaces/migrationTool.go
|
|
* @Description:
|
|
* @Website: https://www.casaos.io
|
|
* Copyright (c) 2022 by icewhale, All Rights Reserved.
|
|
*/
|
|
package interfaces
|
|
|
|
type MigrationTool interface {
|
|
IsMigrationNeeded() (bool, error)
|
|
PostMigrate() error
|
|
Migrate() error
|
|
PreMigrate() error
|
|
}
|