Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:go-xorm/core
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Feb 19, 2016
2 parents ec9a496 + e7a5ad4 commit 9ddf4ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions type.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ var (
Serial = "SERIAL"
BigSerial = "BIGSERIAL"

Json = "JSON"
Json = "JSON"
Jsonb = "JSONB"

SqlTypes = map[string]int{
Bit: NUMERIC_TYPE,
Expand All @@ -116,9 +117,10 @@ var (
Integer: NUMERIC_TYPE,
BigInt: NUMERIC_TYPE,

Enum: TEXT_TYPE,
Set: TEXT_TYPE,
Json: TEXT_TYPE,
Enum: TEXT_TYPE,
Set: TEXT_TYPE,
Json: TEXT_TYPE,
Jsonb: TEXT_TYPE,

Char: TEXT_TYPE,
Varchar: TEXT_TYPE,
Expand Down

0 comments on commit 9ddf4ee

Please sign in to comment.