Bug #70128 | MySQL EER Synchronize To Database [fails] on BIT(1) columns | ||
---|---|---|---|
Submitted: | 23 Aug 2013 2:25 | Modified: | 23 Aug 2013 11:57 |
Reporter: | James Barwick | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 6.0.6.11184 | OS: | MacOS (10.8.4) |
Assigned to: | CPU Architecture: | Any | |
Tags: | bit, EER, modeling, synchronize, workbench |
[23 Aug 2013 2:25]
James Barwick
[23 Aug 2013 2:30]
James Barwick
I verified that it is the comparison of the default b'1' from the database and the default 1 from the model. Setting the model default to b'1' solved the issue. (Don't know why I didn't think of that earlier) Perhaps you might want to add validation rules to the DEFAULT values column in the Model tool just to make sure we don't make a type-o?
[23 Aug 2013 2:32]
James Barwick
I verified that the issue was 'my mistake' by setting the default value in the model incorrectly. Changing the default in the model from 1 to b'1' solved the problem. (I don't know why I didn't think of this earlier). Perhaps we want to make some validation rules on the default column settings in the model? Just a suggestion..
[23 Aug 2013 11:57]
MySQL Verification Team
Thank you for the feedback.