2 namespace App\Test\Fixture;
4 use Cake\TestSuite\Fixture\TestFixture;
10 class LocationsFixture extends TestFixture
18 // @codingStandardsIgnoreStart
20 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
21 'name' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null, 'fixed' => null],
22 'location' => ['type' => 'string', 'length' => 1024, 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => '', 'precision' => null, 'fixed' => null],
23 'lat' => ['type' => 'float', 'null' => true, 'default' => null, ],
24 'lng' => ['type' => 'float', 'null' => true, 'default' => null, ],
25 'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
26 'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
28 'location' => ['type' => 'index', 'columns' => ['location'], 'length' => []],
31 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
32 'name' => ['type' => 'unique', 'columns' => ['name'], 'length' => []],
36 'collation' => 'utf8_general_ci'
39 // @codingStandardsIgnoreEnd
49 'name' => 'Lorem ipsum dolor sit amet',
50 'location' => 'Lorem ipsum dolor sit amet',
53 'created' => '2017-04-21 14:54:02',
54 'modified' => '2017-04-21 14:54:02'