Bug #55334 Problem creating fields CHAR on TABLE WHEN done Synchronize Model
Submitted: 17 Jul 2010 15:28 Modified: 2 Aug 2010 14:25
Reporter: Stêffano de Moura Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.25 CE OS:Windows (Windows 7 x64)
Assigned to: Alexander Musienko CPU Architecture:Any
Tags: synchronize model

[17 Jul 2010 15:28] Stêffano de Moura
Description:
I'm having problem every time I create a new table at the model, when I synchronize the model with the database. When I try to create for example a table with a filed type CHAR with length 5 for example, the workbench always create the field with CHAR(1) length, doesn't matter if I change it for 10, 20, 100... always get CHAR(1) when I synchronize.

How to repeat:
Just create a table with a CHAR(10) field for example
[23 Jul 2010 15:27] Alfredo Kojima
Marked bug #55297 as duplicate of this one
[30 Jul 2010 16:41] Johannes Taxacher
fix confirmed in repository
[2 Aug 2010 14:25] Tony Bedford
An entry has been added to the 5.2.26 changelog:

When a model was synchronized with a live database, CHAR(n) columns were always synchronized as CHAR(1).