49 lines
1.6 KiB
PHP
49 lines
1.6 KiB
PHP
<?php
|
|
namespace App\Test\Fixture;
|
|
|
|
use Cake\TestSuite\Fixture\TestFixture;
|
|
|
|
/**
|
|
* ShardsFixture
|
|
*
|
|
*/
|
|
class ShardsFixture extends TestFixture
|
|
{
|
|
|
|
/**
|
|
* Fields
|
|
*
|
|
* @var array
|
|
*/
|
|
// @codingStandardsIgnoreStart
|
|
public $fields = [
|
|
'id' => ['type' => 'uuid', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'domain' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
|
|
'description' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
|
|
'created' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'modified' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
|
|
'_constraints' => [
|
|
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
|
|
],
|
|
'_options' => [
|
|
'engine' => 'MyISAM',
|
|
'collation' => 'latin1_swedish_ci'
|
|
],
|
|
];
|
|
// @codingStandardsIgnoreEnd
|
|
|
|
/**
|
|
* Records
|
|
*
|
|
* @var array
|
|
*/
|
|
public $records = [
|
|
[
|
|
'id' => '00d44d87-ff5b-46f3-9c37-5510ac9405f4',
|
|
'domain' => 'Lorem ipsum dolor sit amet',
|
|
'description' => 'Lorem ipsum dolor sit amet',
|
|
'created' => '2016-06-17 08:20:36',
|
|
'modified' => '2016-06-17 08:20:36'
|
|
],
|
|
];
|
|
}
|