JsonableCommentsFixture.php 716 B

12345678910111213141516171819202122232425262728
  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 array $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. 'details_nullable' => ['type' => 'string', 'length' => 255, 'null' => true],
  15. '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
  16. ];
  17. /**
  18. * @var array
  19. */
  20. public array $records = [
  21. ];
  22. }