ExifFixture.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. class ExifFixture extends CakeTestFixture {
  3. public $fields = array(
  4. 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
  5. 'user_id' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 36, 'key' => 'index'),
  6. 'title' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30),
  7. 'body' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 255),
  8. 'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
  9. 'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
  10. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'user_id' => array('column' => 'user_id', 'unique' => 0)),
  11. 'tableParameters' => array()
  12. );
  13. public $records = array(
  14. array(
  15. 'id' => 1,
  16. 'user_id' => 'Lorem ipsum dolor sit amet',
  17. 'title' => 'Lorem ipsum dolor sit amet',
  18. 'body' => 'fdfddf',
  19. 'value' => 1,
  20. 'created' => '2010-05-06 16:14:00',
  21. 'modified' => '2010-05-06 16:14:00'
  22. ),
  23. );
  24. }