adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / zippy_maps / tests / Fixture / CategoriesFixture.php
1 <?php
2 namespace App\Test\Fixture;
3
4 use Cake\TestSuite\Fixture\TestFixture;
5
6 /**
7  * CategoriesFixture
8  *
9  */
10 class CategoriesFixture 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         'parent' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => true, '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         '_constraints' => [
26             'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
27             'name' => ['type' => 'unique', 'columns' => ['name'], 'length' => []],
28         ],
29         '_options' => [
30             'engine' => 'InnoDB',
31             'collation' => 'utf8_general_ci'
32         ],
33     ];
34     // @codingStandardsIgnoreEnd
35
36     /**
37      * Records
38      *
39      * @var array
40      */
41     public $records = [
42         [
43             'id' => 1,
44             'name' => 'Lorem ipsum dolor sit amet',
45             'parent' => 1,
46             'created' => '2017-04-26 14:08:10',
47             'modified' => '2017-04-26 14:08:10'
48         ],
49     ];
50 }