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

View File

@@ -1,7 +1,7 @@
package controllers
import (
"Cloudreve/pkg/serializer"
"cloudreve/pkg/serializer"
"encoding/json"
"gopkg.in/go-playground/validator.v8"
)

View File

@@ -1,7 +1,7 @@
package controllers
import (
"Cloudreve/pkg/serializer"
"cloudreve/pkg/serializer"
"encoding/json"
"errors"
"github.com/stretchr/testify/assert"

View File

@@ -1,7 +1,7 @@
package controllers
import (
"Cloudreve/pkg/serializer"
"cloudreve/pkg/serializer"
"github.com/gin-gonic/gin"
)

View File

@@ -1,7 +1,7 @@
package controllers
import (
"Cloudreve/service/user"
"cloudreve/service/user"
"github.com/gin-gonic/gin"
)