fix(db): introduce db schema version (#221)

This commit is contained in:
Teppei Fukuda
2019-10-23 16:00:04 +03:00
committed by GitHub
parent 5ae10e0463
commit a12bb8d0e2
5 changed files with 21 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ type MockDBConfig struct {
mock.Mock
}
func (_m *MockDBConfig) SetVersion(version string) error {
func (_m *MockDBConfig) SetVersion(version int) error {
ret := _m.Called(version)
return ret.Error(0)
}