update
1. fix module schema error 2. add schema to version
This commit is contained in:
parent
f66de3284a
commit
5c997f554b
@ -20,7 +20,7 @@ type VersionInfo struct {
|
||||
|
||||
// ReadVersions -
|
||||
func ReadVersions() (dbver DBVersion, err error) {
|
||||
f, err := Asset("schema/dbVersion.db")
|
||||
f, err := Asset("schema/dbVersion.json")
|
||||
if err != nil {
|
||||
return dbver, err
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"versions": [
|
||||
{"file": "main.sql", "version": 1}
|
||||
{"file": "main.sql", "version": 1},
|
||||
{"file": "20190106-1.sql", "version": 2}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user