Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.1
-
Fix Version/s: None
-
Component/s: Schema Files
-
Labels:None
-
Environment:Windows 7, Apache 2.2.11, PHP 5.2.9, MySQL 5.1.36
Description
When creating a column in a table in a YAML schema file, the following two scenarios produce different results:
Model:
columns:
...
some_numeric:
type: integer(3)
....
__________________________
Model:
columns:
...
some_numeric:
type: integer (3)
....
Please note the spacing in the second example before the (3) in the type definition. The first example will generate a mediumint in MySQL with a length other than 3, while the second example works as expected.
The formatting for the YAML didn't come out right through JIRA, I apologize for that