StringCommentsFixture.php 499 B

123456789101112131415161718
  1. <?php
  2. namespace Tools\Test\Fixture;
  3. use Cake\TestSuite\Fixture\TestFixture;
  4. class StringCommentsFixture 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. '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
  11. ];
  12. public $records = [
  13. ];
  14. }