CustomDatumFixture.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /* CustomDatum Fixture generated on: 2011-11-30 04:00:44 : 1322622044 */
  3. /**
  4. * CustomDatumFixture
  5. *
  6. */
  7. class CustomDatumFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = array(
  14. 'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary', 'collate' => NULL, 'comment' => ''),
  15. 'foreign_id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  16. 'model' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  17. 'key' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  18. 'value' => array('type' => 'text', 'null' => false, 'default' => NULL, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  19. 'created' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  20. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  21. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  22. 'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
  23. );
  24. /**
  25. * Records
  26. *
  27. * @var array
  28. */
  29. public $records = array(
  30. );
  31. }