JsonableCommentsFixture.php 624 B

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