Feat: Decide whether to do database migration based on version.lock

This commit is contained in:
HFO4
2019-11-09 19:04:48 +08:00
parent c5493fd1f1
commit e858cbe2cf
18 changed files with 127 additions and 26 deletions

3
go.mod
View File

@@ -1,4 +1,4 @@
module Cloudreve
module cloudreve
go 1.12
@@ -10,6 +10,7 @@ require (
github.com/go-playground/universal-translator v0.16.0 // indirect
github.com/jinzhu/gorm v1.9.11
github.com/leodido/go-urn v1.2.0 // indirect
github.com/mcuadros/go-version v0.0.0-20190830083331-035f6764e8d2
github.com/pkg/errors v0.8.0
github.com/stretchr/testify v1.4.0
gopkg.in/go-playground/validator.v8 v8.18.2