Update tests to use v2
Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
committed by
Michal Jan Matczuk
parent
e90337b9ca
commit
cea42f14c7
@@ -7,7 +7,7 @@ package migrate
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/scylladb/gocqlx"
|
||||
"github.com/scylladb/gocqlx/v2"
|
||||
)
|
||||
|
||||
// CallbackEvent specifies type of the event when calling CallbackFunc.
|
||||
|
||||
@@ -18,8 +18,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gocql/gocql"
|
||||
"github.com/scylladb/gocqlx"
|
||||
"github.com/scylladb/gocqlx/qb"
|
||||
"github.com/scylladb/gocqlx/v2"
|
||||
"github.com/scylladb/gocqlx/v2/qb"
|
||||
)
|
||||
|
||||
// DefaultAwaitSchemaAgreement controls whether checking for cluster schema agreement
|
||||
|
||||
@@ -15,9 +15,9 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/scylladb/gocqlx"
|
||||
. "github.com/scylladb/gocqlx/gocqlxtest"
|
||||
"github.com/scylladb/gocqlx/migrate"
|
||||
"github.com/scylladb/gocqlx/v2"
|
||||
. "github.com/scylladb/gocqlx/v2/gocqlxtest"
|
||||
"github.com/scylladb/gocqlx/v2/migrate"
|
||||
)
|
||||
|
||||
var migrateSchema = `
|
||||
|
||||
Reference in New Issue
Block a user