PingbackFixture.php 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /* Pingback Fixture generated on: 2011-03-29 16:03:41 : 1301409941 */
  3. class PingbackFixture extends CakeTestFixture {
  4. public $fields = array(
  5. 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
  6. 'foreign_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  7. 'model' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  8. 'title' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  9. 'url' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  10. 'ip' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 60, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  11. 'host' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'charset' => 'utf8'),
  12. 'status' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'comment' => 'approved etc'),
  13. 'created' => array('type' => 'datetime', 'null' => false, 'default' => null),
  14. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  15. 'tableParameters' => array()
  16. );
  17. public $records = array(
  18. array(
  19. 'id' => 1,
  20. 'foreign_id' => 'Lorem ipsum dolor sit amet',
  21. 'model' => 'Lorem ipsum dolor sit amet',
  22. 'title' => 'Lorem ipsum dolor sit amet',
  23. 'url' => 'Lorem ipsum dolor sit amet',
  24. 'ip' => 'Lorem ipsum dolor sit amet',
  25. 'host' => 'Lorem ipsum dolor sit amet',
  26. 'status' => 1,
  27. 'created' => '2011-03-29 16:45:41'
  28. ),
  29. );
  30. }