Skip to content

Commit

Permalink
fix fixture for mysql 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
imsamurai committed Jun 23, 2015
1 parent 82ee4bc commit c5ac925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Test/Fixture/SerializableAssocFixture.php
Expand Up @@ -36,8 +36,8 @@ class SerializableAssocFixture extends CakeTestFixture {
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 20, 'key' => 'primary'),
'field3' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'serializable_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 20),
'field3' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'serializable_id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'length' => 20),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'MyISAM')
);

Expand Down
4 changes: 2 additions & 2 deletions Test/Fixture/SerializableFixture.php
Expand Up @@ -36,8 +36,8 @@ class SerializableFixture extends CakeTestFixture {
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 20, 'key' => 'primary'),
'field1' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'field2' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'field1' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'field2' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'MyISAM')
);

Expand Down

0 comments on commit c5ac925

Please sign in to comment.