JsonableCommentsFixture.php 572 B

12345678910111213141516171819
  1. <?php
  2. namespace Tools\Test\Fixture;
  3. use Cake\TestSuite\Fixture\TestFixture;
  4. class JsonableCommentsFixture extends TestFixture {
  5. public $fields = [
  6. 'id' => ['type' => 'integer'],
  7. 'comment' => ['type' => 'string', 'length' => 255, 'null' => false],
  8. 'url' => ['type' => 'string', 'length' => 255, 'null' => false],
  9. 'title' => ['type' => 'string', 'length' => 255, 'null' => false],
  10. 'details' => ['type' => 'string', 'length' => 255, 'null' => false],
  11. '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
  12. ];
  13. public $records = [
  14. ];
  15. }