adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / zippy_maps / tests / Fixture / CategoriesLocationsFixture.php
1 <?php
2 namespace App\Test\Fixture;
3
4 use Cake\TestSuite\Fixture\TestFixture;
5
6 /**
7  * CategoriesLocationsFixture
8  *
9  */
10 class CategoriesLocationsFixture 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         'location_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
22         'category_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
23         'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
24         'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
25         '_indexes' => [
26             'location_id' => ['type' => 'index', 'columns' => ['location_id'], 'length' => []],
27             'category_id' => ['type' => 'index', 'columns' => ['category_id'], 'length' => []],
28         ],
29         '_constraints' => [
30             'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
31             'categories_locations_ibfk_1' => ['type' => 'foreign', 'columns' => ['location_id'], 'references' => ['locations', 'id'], 'update' => 'restrict', 'delete' => 'restrict', 'length' => []],
32             'categories_locations_ibfk_2' => ['type' => 'foreign', 'columns' => ['category_id'], 'references' => ['categories', 'id'], 'update' => 'restrict', 'delete' => 'restrict', '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             'location_id' => 1,
50             'category_id' => 1,
51             'created' => '2017-05-01 18:36:01',
52             'modified' => '2017-05-01 18:36:01'
53         ],
54     ];
55 }