Bug #51068 Decimal scale always set to 0 when synchronizing with database
Submitted: 10 Feb 2010 18:45 Modified: 10 Feb 2010 18:55
Reporter: Michel Tremblay Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.15 rev 5053 OS:Any
Assigned to: CPU Architecture:Any

[10 Feb 2010 18:45] Michel Tremblay
Description:
If you use a decimal field with a scale (ex.: DECIMAL(16,2)) in a model table, the "Synchronize Model" tool will replace the scale by 0 (DECIMAL(16,0)).

This have been tested on Windows and MacOS versions.

How to repeat:
- Create à new model
- Add a table with one or more DECIMAL fields (with a scale larger from 0)
- Run the "Synchronize Model" tool and look at the generated SQL.
[10 Feb 2010 18:55] Alexander Musienko
Duplicate of Bug #50110