replace dataLength instead of adding length property
This commit is contained in:
parent
1ee0c2f3bb
commit
0964a2634a
|
@ -144,8 +144,7 @@ function mixinDiscovery(MySQL) {
|
|||
sql = paginateSQL('SELECT table_schema AS "owner",' +
|
||||
' table_name AS "tableName", column_name AS "columnName",' +
|
||||
' data_type AS "dataType",' +
|
||||
' character_maximum_length AS "length",' +
|
||||
' character_octet_length AS "dataLength",' +
|
||||
' character_maximum_length AS "dataLength",' +
|
||||
' numeric_precision AS "dataPrecision",' +
|
||||
' numeric_scale AS "dataScale",' +
|
||||
' is_nullable = \'YES\' AS "nullable"' +
|
||||
|
@ -157,8 +156,7 @@ function mixinDiscovery(MySQL) {
|
|||
sql = paginateSQL('SELECT table_schema AS "owner",' +
|
||||
' table_name AS "tableName", column_name AS "columnName",' +
|
||||
' data_type AS "dataType",' +
|
||||
' character_maximum_length AS "length",' +
|
||||
' character_octet_length AS "dataLength",' +
|
||||
' character_maximum_length AS "dataLength",' +
|
||||
' numeric_precision AS "dataPrecision",' +
|
||||
' numeric_scale AS "dataScale",' +
|
||||
' is_nullable = \'YES\' AS "nullable"' +
|
||||
|
|
Loading…
Reference in New Issue