| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- /* City Fixture generated on: 2011-11-20 21:58:46 : 1321822726 */
- /**
- * CityFixture
- *
- */
- class CityFixture extends CakeTestFixture {
- /**
- * Fields
- *
- * @var array
- */
- public $fields = array(
- 'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary', 'collate' => NULL, 'comment' => ''),
- 'name' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'slug' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
- 'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => NULL, 'comment' => ''),
- 'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => NULL, 'comment' => ''),
- 'active' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => NULL, 'comment' => ''),
- 'created' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
- 'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
- 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
- 'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_unicode_ci', 'engine' => 'MyISAM')
- );
- /**
- * Records
- *
- * @var array
- */
- public $records = array(
- array(
- 'id' => '1',
- 'name' => 'München',
- 'slug' => 'muenchen',
- 'lat' => '48.139126',
- 'lng' => '11.580186',
- 'active' => 1,
- 'created' => '0000-00-00 00:00:00',
- 'modified' => '0000-00-00 00:00:00'
- ),
- array(
- 'id' => '3',
- 'name' => 'Stuttgart',
- 'slug' => 'Stuttgart',
- 'lat' => '48.777107',
- 'lng' => '9.180769',
- 'active' => 1,
- 'created' => '2011-10-07 16:48:05',
- 'modified' => '0000-00-00 00:00:00'
- ),
- );
- }
|