PostalCodeFixture.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /* PostalCode Fixture generated on: 2011-11-20 21:59:25 : 1321822765 */
  3. /**
  4. * PostalCodeFixture
  5. *
  6. */
  7. class PostalCodeFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = array(
  14. 'id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  15. 'code' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 5, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  16. 'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => NULL, 'comment' => ''),
  17. 'lat' => array('type' => 'float', 'null' => false, 'default' => '0.0000', 'length' => '9,4', 'collate' => NULL, 'comment' => ''),
  18. 'lng' => array('type' => 'float', 'null' => false, 'default' => '0.0000', 'length' => '9,4', 'collate' => NULL, 'comment' => ''),
  19. 'official_address' => array('type' => 'string', 'null' => false, 'default' => NULL, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  20. 'created' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  21. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  22. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  23. 'tableParameters' => array()
  24. );
  25. /**
  26. * Records
  27. *
  28. * @var array
  29. */
  30. public $records = array(
  31. );
  32. }