0

String instead of Double type on CakePhp !

Hii, i tried to create a column named X taking DOUBLE as a type in a table named Customer with cakephp's console, but when I migrate the CreateCustomers, it declare X as 'string'. Why ?!

15th Dec 2016, 10:31 PM
Mehdi Bouzidi
Mehdi Bouzidi - avatar
1 Odpowiedź
0
there is no DOUBLE type when you're creating a table using the cakephp console. instead we use the 'float' data type
22nd Dec 2016, 9:04 AM
Mehdi Bouzidi
Mehdi Bouzidi - avatar