This commit is contained in:
parent
d3a046d85d
commit
6868bde5e6
2
acid.go
2
acid.go
@ -1754,6 +1754,8 @@ func dbOpen(path string) error {
|
|||||||
fallthrough
|
fallthrough
|
||||||
case 2:
|
case 2:
|
||||||
// The next migration goes here, remember to increment the number below.
|
// The next migration goes here, remember to increment the number below.
|
||||||
|
default:
|
||||||
|
return fmt.Errorf("unsupported database version: %d", version)
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err = tx.Exec(
|
if _, err = tx.Exec(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user