StateFixture.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /* State Fixture generated on: 2011-11-20 21:59:38 : 1321822778 */
  3. /**
  4. * StateFixture
  5. *
  6. */
  7. class StateFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = array(
  14. 'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary', 'collate' => NULL, 'comment' => ''),
  15. 'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => NULL, 'comment' => ''),
  16. 'name' => array('type' => 'string', 'null' => false, 'default' => NULL, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  17. 'abbr' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  18. 'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => NULL, 'comment' => ''),
  19. 'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => NULL, 'comment' => ''),
  20. 'slug' => array('type' => 'string', 'null' => false, 'default' => NULL, 'key' => 'index', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  21. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  22. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'slug' => array('column' => 'slug', 'unique' => 0)),
  23. 'tableParameters' => array()
  24. );
  25. /**
  26. * Records
  27. *
  28. * @var array
  29. */
  30. public $records = array(
  31. array(
  32. 'id' => '1',
  33. 'country_id' => '1',
  34. 'name' => 'Schleswig-Holstein',
  35. 'abbr' => '',
  36. 'lat' => '0.000000',
  37. 'lng' => '0.000000',
  38. 'slug' => 'schleswig-holstein',
  39. 'modified' => '0000-00-00 00:00:00'
  40. ),
  41. array(
  42. 'id' => '2',
  43. 'country_id' => '1',
  44. 'name' => 'Hamburg',
  45. 'abbr' => '',
  46. 'lat' => '0.000000',
  47. 'lng' => '0.000000',
  48. 'slug' => 'hamburg',
  49. 'modified' => '0000-00-00 00:00:00'
  50. ),
  51. array(
  52. 'id' => '3',
  53. 'country_id' => '1',
  54. 'name' => 'Niedersachsen',
  55. 'abbr' => '',
  56. 'lat' => '0.000000',
  57. 'lng' => '0.000000',
  58. 'slug' => 'niedersachsen',
  59. 'modified' => '0000-00-00 00:00:00'
  60. ),
  61. array(
  62. 'id' => '4',
  63. 'country_id' => '1',
  64. 'name' => 'Bremen',
  65. 'abbr' => '',
  66. 'lat' => '0.000000',
  67. 'lng' => '0.000000',
  68. 'slug' => 'bremen',
  69. 'modified' => '0000-00-00 00:00:00'
  70. ),
  71. array(
  72. 'id' => '5',
  73. 'country_id' => '1',
  74. 'name' => 'Nordrhein-Westfalen',
  75. 'abbr' => '',
  76. 'lat' => '0.000000',
  77. 'lng' => '0.000000',
  78. 'slug' => 'nordrhein-westfalen',
  79. 'modified' => '0000-00-00 00:00:00'
  80. ),
  81. array(
  82. 'id' => '6',
  83. 'country_id' => '1',
  84. 'name' => 'Hessen',
  85. 'abbr' => '',
  86. 'lat' => '0.000000',
  87. 'lng' => '0.000000',
  88. 'slug' => 'hessen',
  89. 'modified' => '0000-00-00 00:00:00'
  90. ),
  91. array(
  92. 'id' => '7',
  93. 'country_id' => '1',
  94. 'name' => 'Rheinland-Pfalz',
  95. 'abbr' => '',
  96. 'lat' => '0.000000',
  97. 'lng' => '0.000000',
  98. 'slug' => 'rheinland-pfalz',
  99. 'modified' => '0000-00-00 00:00:00'
  100. ),
  101. array(
  102. 'id' => '8',
  103. 'country_id' => '1',
  104. 'name' => 'Baden-Württemberg',
  105. 'abbr' => '',
  106. 'lat' => '0.000000',
  107. 'lng' => '0.000000',
  108. 'slug' => 'baden-wuerttemberg',
  109. 'modified' => '0000-00-00 00:00:00'
  110. ),
  111. array(
  112. 'id' => '9',
  113. 'country_id' => '1',
  114. 'name' => 'Bayern',
  115. 'abbr' => '',
  116. 'lat' => '0.000000',
  117. 'lng' => '0.000000',
  118. 'slug' => 'bayern',
  119. 'modified' => '0000-00-00 00:00:00'
  120. ),
  121. array(
  122. 'id' => '10',
  123. 'country_id' => '1',
  124. 'name' => 'Saarland',
  125. 'abbr' => '',
  126. 'lat' => '0.000000',
  127. 'lng' => '0.000000',
  128. 'slug' => 'saarland',
  129. 'modified' => '0000-00-00 00:00:00'
  130. ),
  131. );
  132. }