aperturedb: add support for postgres/sqlite

This commit is contained in:
positiveblue
2023-05-26 17:50:52 -07:00
parent bddbc9326d
commit 6700d01b39
14 changed files with 1222 additions and 67 deletions

View File

@@ -0,0 +1,13 @@
//go:build test_db_postgres
// +build test_db_postgres
package aperturedb
import (
"testing"
)
// NewTestDB is a helper function that creates a Postgres database for testing.
func NewTestDB(t *testing.T) *PostgresStore {
return NewTestPostgresDB(t)
}