RevisionArticlesRevFixture.php 773 B

123456789101112131415
  1. <?php
  2. class RevisionArticlesRevFixture extends CakeTestFixture {
  3. public $fields = array(
  4. 'version_id' => array('type' => 'integer','null' => false,'default' => NULL,'key' => 'primary'),
  5. 'version_created' => array('type' => 'datetime', 'null' => false, 'default' => NULL),
  6. 'id' => array('type' => 'integer','null' => false,'default' => NULL),
  7. 'user_id' => array('type' => 'integer', 'null' => false, 'default' => NULL),
  8. 'parent_id' => array('type' => 'integer','null' => true,'default' => NULL),
  9. 'title' => array('type' => 'string', 'null' => false, 'default' => NULL),
  10. 'content' => array('type' => 'text', 'null' => false, 'default' => NULL),
  11. 'indexes' => array('PRIMARY' => array('column' => 'version_id')));
  12. public $records = array(
  13. );
  14. }