|
@@ -575,7 +575,7 @@ def get_definition(fieldtype, precision=None, length=None): |
|
|
|
|
|
|
|
|
if size: |
|
|
if size: |
|
|
if fieldtype in ["Float", "Currency", "Percent"] and cint(precision) > 6: |
|
|
if fieldtype in ["Float", "Currency", "Percent"] and cint(precision) > 6: |
|
|
size = '18,9' |
|
|
|
|
|
|
|
|
size = '21,9' |
|
|
|
|
|
|
|
|
if coltype == "varchar" and length: |
|
|
if coltype == "varchar" and length: |
|
|
size = length |
|
|
size = length |
|
|