Chore: Update the xorm dependency (#22376)

* Upgrade xorm

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Noval Agung Prayogo
2020-04-01 15:57:21 +02:00
committed by GitHub
co-authored by Arve Knudsen
parent d7d94d13a0
commit ea35ae4d1f
166 changed files with 4435 additions and 2954 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/go-xorm/xorm"
"xorm.io/xorm"
)
type Dialect interface {
+1 -1
View File
@@ -4,11 +4,11 @@ import (
"time"
_ "github.com/go-sql-driver/mysql"
"github.com/go-xorm/xorm"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/grafana/grafana/pkg/util/errutil"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
"xorm.io/xorm"
)
type Migrator struct {
@@ -7,7 +7,7 @@ import (
"github.com/VividCortex/mysqlerr"
"github.com/go-sql-driver/mysql"
"github.com/go-xorm/xorm"
"xorm.io/xorm"
)
type Mysql struct {
@@ -5,9 +5,9 @@ import (
"strconv"
"strings"
"github.com/go-xorm/xorm"
"github.com/grafana/grafana/pkg/util/errutil"
"github.com/lib/pq"
"xorm.io/xorm"
)
type Postgres struct {
@@ -3,8 +3,8 @@ package migrator
import (
"fmt"
"github.com/go-xorm/xorm"
"github.com/mattn/go-sqlite3"
"xorm.io/xorm"
)
type Sqlite3 struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/go-xorm/xorm"
"xorm.io/xorm"
)
const (