|
@@ -324,10 +324,10 @@ class ValidateUsersTable extends Table {
|
|
|
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
|
|
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
|
|
|
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
|
|
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
|
|
|
'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
|
|
'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
|
|
|
- 'balance' => array('type' => 'float', 'null' => false, 'length' => '5,2'),
|
|
|
|
|
- 'cost_decimal' => array('type' => 'decimal', 'null' => false, 'length' => '6,3'),
|
|
|
|
|
- 'ratio' => array('type' => 'decimal', 'null' => false, 'length' => '10,6'),
|
|
|
|
|
- 'population' => array('type' => 'decimal', 'null' => false, 'length' => '15,0'),
|
|
|
|
|
|
|
+ 'balance' => array('type' => 'float', 'null' => false, 'length' => 5, 'precision' => 2),
|
|
|
|
|
+ 'cost_decimal' => array('type' => 'decimal', 'null' => false, 'length' => 6, 'precision' => 3),
|
|
|
|
|
+ 'ratio' => array('type' => 'decimal', 'null' => false, 'length' => 10, 'precision' => 6),
|
|
|
|
|
+ 'population' => array('type' => 'decimal', 'null' => false, 'length' => 15, 'precision' => 0),
|
|
|
'created' => array('type' => 'date', 'null' => '1', 'default' => '', 'length' => ''),
|
|
'created' => array('type' => 'date', 'null' => '1', 'default' => '', 'length' => ''),
|
|
|
'updated' => array('type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null),
|
|
'updated' => array('type' => 'datetime', 'null' => '1', 'default' => '', 'length' => null),
|
|
|
'_constraints' => array('primary' => ['type' => 'primary', 'columns' => ['id']])
|
|
'_constraints' => array('primary' => ['type' => 'primary', 'columns' => ['id']])
|