<?php namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * CrisisFixture * */ class CrisisFixture extends TestFixture { /** * Table name * * @var string */ public $table = 'crisis'; /** * Fields * * @var array */ // @codingStandardsIgnoreStart public $fields = [ 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], 'abstract' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'severity' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], 'longitude' => ['type' => 'float', 'length' => null, 'precision' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => ''], 'latitude' => ['type' => 'float', 'length' => null, 'precision' => null, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => ''], 'state' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => 'spotted / verified / over', 'precision' => null, 'fixed' => null], 'address' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'type' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'hashtags' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null], 'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null], 'user_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], '_constraints' => [ 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], ], '_options' => [ 'engine' => 'InnoDB', 'collation' => 'utf8_bin' ], ]; // @codingStandardsIgnoreEnd /** * Records * * @var array */ public $records = [ [ 'id' => 1, 'abstract' => 'Lorem ipsum dolor sit amet', 'severity' => 1, 'longitude' => 1, 'latitude' => 1, 'state' => 'Lorem ipsum dolor sit amet', 'address' => 'Lorem ipsum dolor sit amet', 'type' => 'Lorem ipsum dolor sit amet', 'hashtags' => 'Lorem ipsum dolor sit amet', 'created' => '2015-12-03 18:24:22', 'modified' => '2015-12-03 18:24:22', 'user_id' => 1 ], ]; }