Fix some performance/volume issues

This commit is contained in:
Deluan
2020-01-13 00:04:11 -05:00
committed by Deluan Quintão
parent 973f8869eb
commit fddd0dc353
9 changed files with 94 additions and 45 deletions
@@ -10,7 +10,7 @@ var _ = Describe("PropertyRepository", func() {
var repo domain.PropertyRepository
BeforeEach(func() {
Db().QueryTable("property").Exclude("id", ".PHONY").Delete()
Db().Raw("delete from property").Exec()
repo = NewPropertyRepository()
})