StringCommentsFixture.php 564 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Tools\Test\Fixture;
  3. use Cake\TestSuite\Fixture\TestFixture;
  4. class StringCommentsFixture 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. '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
  14. ];
  15. /**
  16. * @var array
  17. */
  18. public array $records = [
  19. ];
  20. }