Create DataTypesMap.json
This commit is contained in:
parent
5796dda16b
commit
c3dd235898
204
DataTypesMap.json
Normal file
204
DataTypesMap.json
Normal file
|
@ -0,0 +1,204 @@
|
||||||
|
{
|
||||||
|
"README" : [
|
||||||
|
"If you wish to customize this 'map' - then perform following steps:"
|
||||||
|
],
|
||||||
|
|
||||||
|
"bit" : {
|
||||||
|
"increased_size" : "bit varying",
|
||||||
|
"type" : "bit",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"year" : {
|
||||||
|
"increased_size" : "int",
|
||||||
|
"type" : "smallint",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"tinyint" : {
|
||||||
|
"increased_size" : "int",
|
||||||
|
"type" : "smallint",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"smallint" : {
|
||||||
|
"increased_size" : "int",
|
||||||
|
"type" : "smallint",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"mediumint" : {
|
||||||
|
"increased_size" : "bigint",
|
||||||
|
"type" : "int",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"int" : {
|
||||||
|
"increased_size" : "bigint",
|
||||||
|
"type" : "int",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"bigint" : {
|
||||||
|
"increased_size" : "numeric",
|
||||||
|
"type" : "bigint",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"float" : {
|
||||||
|
"increased_size" : "double precision",
|
||||||
|
"type" : "real",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"double" : {
|
||||||
|
"increased_size" : "double precision",
|
||||||
|
"type" : "double precision",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"double precision" : {
|
||||||
|
"increased_size" : "double precision",
|
||||||
|
"type" : "double precision",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"numeric" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "numeric",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"decimal" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "decimal",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"decimal(19,2)" : {
|
||||||
|
"increased_size" : "numeric",
|
||||||
|
"type" : "money",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"char" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "character",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"varchar" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "character varying",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"date" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "date",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"time" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "time",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"datetime" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "timestamp",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"timestamp" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "timestamp",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"point" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "point",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"linestring" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "line",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"polygon" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "polygon",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"enum" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "character varying(255)",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"tinytext" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "text",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"mediumtext" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "text",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"longtext" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "text",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"text" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "text",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"varbinary" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"binary" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : true
|
||||||
|
},
|
||||||
|
|
||||||
|
"tinyblob" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"mediumblob" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"longblob" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
},
|
||||||
|
|
||||||
|
"blob" : {
|
||||||
|
"increased_size" : "",
|
||||||
|
"type" : "bytea",
|
||||||
|
"mySqlVarLenPgSqlFixedLen" : false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue