Storage: Remove entity store (#91233)
This commit is contained in:
@@ -7,10 +7,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/go-sql-driver/mysql"
|
||||
"github.com/grafana/grafana/pkg/storage/unified/sql/db"
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
"xorm.io/xorm"
|
||||
|
||||
"github.com/grafana/grafana/pkg/services/store/entity/db"
|
||||
)
|
||||
|
||||
func getEngineMySQL(getter *sectionGetter, _ trace.Tracer) (*xorm.Engine, error) {
|
||||
|
||||
@@ -5,6 +5,13 @@ import (
|
||||
"database/sql"
|
||||
)
|
||||
|
||||
const (
|
||||
DriverPostgres = "postgres"
|
||||
DriverMySQL = "mysql"
|
||||
DriverSQLite = "sqlite"
|
||||
DriverSQLite3 = "sqlite3"
|
||||
)
|
||||
|
||||
// DBProvider provides access to a SQL Database.
|
||||
type DBProvider interface {
|
||||
// Init initializes the SQL Database, running migrations if needed. It is
|
||||
|
||||
Reference in New Issue
Block a user