Convert ScheduleBlock, SponsorSlide, and UserSession models to use Bolt DB and clean up remaining SQLite artifacts.

This commit is contained in:
Patrick Fairbank
2021-05-12 18:20:01 -07:00
parent ec71975e93
commit 6cea008524
17 changed files with 161 additions and 237 deletions

View File

@@ -21,7 +21,6 @@ func SetupTestArena(t *testing.T, uniqueName string) *Arena {
model.BaseDir = ".."
dbPath := filepath.Join(model.BaseDir, fmt.Sprintf("%s_test.db", uniqueName))
os.Remove(dbPath)
os.Remove(dbPath + ".bolt")
arena, err := NewArena(dbPath)
assert.Nil(t, err)
return arena