diff --git a/engine/version.go b/engine/version.go index b0959e32c..4f682d71a 100644 --- a/engine/version.go +++ b/engine/version.go @@ -107,6 +107,7 @@ func (vers Versions) Compare(curent Versions, storType string) string { return "" } +<<<<<<< HEAD func CurrentDataDBVersions() Versions { return Versions{ utils.StatS: 2, diff --git a/engine/versions_it_test.go b/engine/versions_it_test.go index 6dd14e163..2d1eeecb5 100644 --- a/engine/versions_it_test.go +++ b/engine/versions_it_test.go @@ -182,16 +182,9 @@ func testVersion(t *testing.T) { storType = storageDb.GetStorageType() switch storType { case utils.MONGO, utils.MAPSTOR: -<<<<<<< HEAD - currentVersion = Versions{utils.Accounts: 2, utils.Actions: 2, utils.ActionTriggers: 2, - utils.ActionPlans: 2, utils.SharedGroups: 2, utils.COST_DETAILS: 2, utils.CDRs: 2} - testVersion = Versions{utils.Accounts: 1, utils.Actions: 2, utils.ActionTriggers: 2, - utils.ActionPlans: 2, utils.SharedGroups: 2, utils.COST_DETAILS: 2, utils.CDRs: 2} -======= currentVersion = allVersions testVersion = allVersions testVersion[utils.Accounts] = 1 ->>>>>>> Added move feature(to migrate data from one db to another) and updated GetTPIds , IsDBempty and the versioning accordingly test = "Migration needed: please backup cgr data and run : " case utils.POSTGRES, utils.MYSQL: currentVersion = storDbVersions