Skip to content

Commit

Permalink
fix datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
tukeJonny committed Sep 3, 2018
1 parent 90589f1 commit c809b67
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 15 deletions.
28 changes: 28 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
name = "github.com/BurntSushi/toml"
version = "0.3.0"

[[constraint]]
name = "github.com/go-sql-driver/mysql"
version = "~1.3.0"

[prune]
go-tests = true
unused-packages = true
8 changes: 0 additions & 8 deletions glide.lock

This file was deleted.

6 changes: 0 additions & 6 deletions glide.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion mysql/innodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
var (
INT_TYPES = []string{"tinyint", "smallint", "mediumint", "int", "integer", "bigint", "float", "double", "real", "decimal", "numeric", "bit"}
DATETIME_TYPES = []string{"year", "date", "time", "datetime", "timestamp"}
STRING_TYPES = []string{"char", "binary", "varchar", "varbinary", "tinyblob", "tinytext", "mediumblob", "mediumtext", "longblob", "longtext", "enum", "set"}
STRING_TYPES = []string{"char", "binary", "varchar", "varbinary", "tinyblob", "text", "tinytext", "mediumblob", "mediumtext", "longblob", "longtext", "enum", "set"}
)

type MySQLClient struct {
Expand Down

0 comments on commit c809b67

Please sign in to comment.