adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / zippy_maps / tests / Fixture / LocationsFixture.php
1 <?php
2 namespace App\Test\Fixture;
3
4 use Cake\TestSuite\Fixture\TestFixture;
5
6 /**
7  * LocationsFixture
8  *
9  */
10 class LocationsFixture extends TestFixture
11 {
12
13     /**
14      * Fields
15      *
16      * @var array
17      */
18     // @codingStandardsIgnoreStart
19     public $fields = [
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],
27         '_indexes' => [
28             'location' => ['type' => 'index', 'columns' => ['location'], 'length' => []],
29         ],
30         '_constraints' => [
31             'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
32             'name' => ['type' => 'unique', 'columns' => ['name'], 'length' => []],
33         ],
34         '_options' => [
35             'engine' => 'InnoDB',
36             'collation' => 'utf8_general_ci'
37         ],
38     ];
39     // @codingStandardsIgnoreEnd
40
41     /**
42      * Records
43      *
44      * @var array
45      */
46     public $records = [
47         [
48             'id' => 1,
49             'name' => 'Lorem ipsum dolor sit amet',
50             'location' => 'Lorem ipsum dolor sit amet',
51             'lat' => 30.8,
52                 'lng' => -12.6,
53                 'created' => '2017-04-21 14:54:02',
54             'modified' => '2017-04-21 14:54:02'
55         ],
56     ];
57 }