From fd6bc98e47f25c18cab0b41e033cc1ec428f4bfd Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Mon, 15 Jun 2020 18:24:49 +0200 Subject: [PATCH] Move from lib/pq to jackc/pgx (#93) See https://github.com/gobuffalo/pop/pull/562 --- translators/cockroach_meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translators/cockroach_meta.go b/translators/cockroach_meta.go index b8e1f9f8..2054c111 100644 --- a/translators/cockroach_meta.go +++ b/translators/cockroach_meta.go @@ -47,7 +47,7 @@ type cockroachSchema struct { func (p *cockroachSchema) Build() error { var err error - db, err := sql.Open("postgres", p.URL) + db, err := sql.Open("pgx", p.URL) if err != nil { return err }