SessionsFixture.php 638 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Tools\Test\Fixture;
  3. use Cake\Database\Schema\TableSchema;
  4. use Cake\TestSuite\Fixture\TestFixture;
  5. /**
  6. * SessionFixture
  7. */
  8. class SessionsFixture extends TestFixture {
  9. /**
  10. * fields property
  11. *
  12. * @var array
  13. */
  14. public array $fields = [
  15. 'id' => ['type' => 'string', 'length' => 128],
  16. 'data' => ['type' => 'binary', 'length' => TableSchema::LENGTH_MEDIUM, 'null' => true],
  17. 'expires' => ['type' => 'integer', 'length' => 11, 'null' => true],
  18. '_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]],
  19. ];
  20. /**
  21. * records property
  22. *
  23. * @var array
  24. */
  25. public array $records = [];
  26. }