From d4b77d81b599acf606e8da45c4225334167b5974 Mon Sep 17 00:00:00 2001 From: Adam Babik Date: Mon, 3 Jun 2019 20:07:32 +0200 Subject: [PATCH] use v4 in sqlcipher --- database/sqlcipher/sqlcipher.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/database/sqlcipher/sqlcipher.go b/database/sqlcipher/sqlcipher.go index 496f62f..41974d4 100644 --- a/database/sqlcipher/sqlcipher.go +++ b/database/sqlcipher/sqlcipher.go @@ -3,13 +3,14 @@ package sqlcipher import ( "database/sql" "fmt" - "github.com/golang-migrate/migrate" - "github.com/golang-migrate/migrate/database" - _ "github.com/mutecomm/go-sqlcipher" "io" "io/ioutil" nurl "net/url" "strings" + + "github.com/golang-migrate/migrate/v4" + "github.com/golang-migrate/migrate/v4/database" + _ "github.com/mutecomm/go-sqlcipher" ) func init() {