Skip to content

Commit b410679

Browse files
committed
♻️ (build): remove unused database drivers to simplify build and maintenance
1 parent 49b0192 commit b410679

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

internal/cli/build.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build !(aws_s3 || bitbucket || cassandra || clickhouse || cockroachdb || firebird || github || gitlab || go_bindata || godoc_vfs || google_cloud_storage || mongodb || mysql || neo4j || pgx || pgx5 || postgres || ql || redshift || rqlite || snowflake || spanner || sqlcipher || sqlite || sqlite3 || sqlserver || yugabytedb)
2-
// +build !aws_s3,!bitbucket,!cassandra,!clickhouse,!cockroachdb,!firebird,!github,!gitlab,!go_bindata,!godoc_vfs,!google_cloud_storage,!mongodb,!mysql,!neo4j,!pgx,!pgx5,!postgres,!ql,!redshift,!rqlite,!snowflake,!spanner,!sqlcipher,!sqlite,!sqlite3,!sqlserver,!yugabytedb
1+
//go:build !(aws_s3 || bitbucket || cassandra || clickhouse || cockroachdb || firebird || github || gitlab || go_bindata || godoc_vfs || google_cloud_storage || mongodb || mysql || neo4j || pgx || pgx5 || postgres || redshift || rqlite || spanner || sqlserver || yugabytedb)
2+
// +build !aws_s3,!bitbucket,!cassandra,!clickhouse,!cockroachdb,!firebird,!github,!gitlab,!go_bindata,!godoc_vfs,!google_cloud_storage,!mongodb,!mysql,!neo4j,!pgx,!pgx5,!postgres,!redshift,!rqlite,!spanner,!sqlserver,!yugabytedb
33

44
package cli
55

@@ -15,14 +15,9 @@ import (
1515
_ "github.com/golang-migrate/migrate/v4/database/pgx"
1616
_ "github.com/golang-migrate/migrate/v4/database/pgx/v5"
1717
_ "github.com/golang-migrate/migrate/v4/database/postgres"
18-
_ "github.com/golang-migrate/migrate/v4/database/ql"
1918
_ "github.com/golang-migrate/migrate/v4/database/redshift"
2019
_ "github.com/golang-migrate/migrate/v4/database/rqlite"
21-
_ "github.com/golang-migrate/migrate/v4/database/snowflake"
2220
_ "github.com/golang-migrate/migrate/v4/database/spanner"
23-
_ "github.com/golang-migrate/migrate/v4/database/sqlcipher"
24-
_ "github.com/golang-migrate/migrate/v4/database/sqlite"
25-
_ "github.com/golang-migrate/migrate/v4/database/sqlite3"
2621
_ "github.com/golang-migrate/migrate/v4/database/sqlserver"
2722
_ "github.com/golang-migrate/migrate/v4/database/yugabytedb"
2823
_ "github.com/golang-migrate/migrate/v4/source/aws_s3"

0 commit comments

Comments
 (0)