diff --git a/query_builders/mysql_builder/column/column.go b/query_builders/mysql/column/column.go similarity index 98% rename from query_builders/mysql_builder/column/column.go rename to query_builders/mysql/column/column.go index a4e1745..b204beb 100644 --- a/query_builders/mysql_builder/column/column.go +++ b/query_builders/mysql/column/column.go @@ -2,7 +2,7 @@ package column import ( "fmt" - "github.com/ShkrutDenis/go-migrations/query_builders/mysql_builder/info" + "github.com/ShkrutDenis/go-migrations/query_builders/mysql/info" "github.com/jmoiron/sqlx" ) diff --git a/query_builders/mysql_builder/info/info.go b/query_builders/mysql/info/info.go similarity index 100% rename from query_builders/mysql_builder/info/info.go rename to query_builders/mysql/info/info.go diff --git a/query_builders/mysql_builder/key/foreign.go b/query_builders/mysql/key/foreign.go similarity index 96% rename from query_builders/mysql_builder/key/foreign.go rename to query_builders/mysql/key/foreign.go index e79cc0c..03c1dbd 100644 --- a/query_builders/mysql_builder/key/foreign.go +++ b/query_builders/mysql/key/foreign.go @@ -2,7 +2,7 @@ package key import ( "fmt" - "github.com/ShkrutDenis/go-migrations/query_builders/mysql_builder/info" + "github.com/ShkrutDenis/go-migrations/query_builders/mysql/info" ) type ForeignKey struct { diff --git a/query_builders/mysql_builder/key/primary.go b/query_builders/mysql/key/primary.go similarity index 100% rename from query_builders/mysql_builder/key/primary.go rename to query_builders/mysql/key/primary.go diff --git a/query_builders/mysql_builder/key/unique.go b/query_builders/mysql/key/unique.go similarity index 100% rename from query_builders/mysql_builder/key/unique.go rename to query_builders/mysql/key/unique.go diff --git a/query_builders/mysql_builder/table/table.go b/query_builders/mysql/table/table.go similarity index 95% rename from query_builders/mysql_builder/table/table.go rename to query_builders/mysql/table/table.go index f914b82..5f3af97 100644 --- a/query_builders/mysql_builder/table/table.go +++ b/query_builders/mysql/table/table.go @@ -2,9 +2,9 @@ package table import ( "fmt" - "github.com/ShkrutDenis/go-migrations/query_builders/mysql_builder/column" - "github.com/ShkrutDenis/go-migrations/query_builders/mysql_builder/info" - "github.com/ShkrutDenis/go-migrations/query_builders/mysql_builder/key" + "github.com/ShkrutDenis/go-migrations/query_builders/mysql/column" + "github.com/ShkrutDenis/go-migrations/query_builders/mysql/info" + "github.com/ShkrutDenis/go-migrations/query_builders/mysql/key" "github.com/jmoiron/sqlx" "strconv" "strings"