ImageFixture.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /* Image Fixture generated on: 2011-11-20 21:59:04 : 1321822744 */
  3. /**
  4. * ImageFixture
  5. *
  6. */
  7. class ImageFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = [
  14. 'id' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'primary', 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  15. 'name' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  16. 'description' => ['type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  17. 'is_master' => ['type' => 'boolean', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''],
  18. 'filename' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  19. 'model' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  20. 'foreign_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  21. 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  22. 'modified' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  23. 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
  24. 'tableParameters' => []
  25. ];
  26. /**
  27. * Records
  28. *
  29. * @var array
  30. */
  31. public $records = [
  32. [
  33. 'id' => '4e0db616-1378-475f-8cd2-0c707cb063f2',
  34. 'name' => 'Burger',
  35. 'description' => '',
  36. 'is_master' => 1,
  37. 'filename' => 'burger.jpg',
  38. 'model' => 'Meal',
  39. 'foreign_id' => '112',
  40. 'created' => '2011-07-01 13:57:10',
  41. 'modified' => '2011-07-01 13:57:10'
  42. ],
  43. [
  44. 'id' => '4e0db616-bf60-4418-9c39-0c707cb063f2',
  45. 'name' => 'Chili Con Carne',
  46. 'description' => '',
  47. 'is_master' => 1,
  48. 'filename' => 'chili_con_carne.jpg',
  49. 'model' => 'Meal',
  50. 'foreign_id' => '108',
  51. 'created' => '2011-07-01 13:57:10',
  52. 'modified' => '2011-07-01 13:57:10'
  53. ],
  54. [
  55. 'id' => '4e0db616-7b0c-487a-bd8c-0c707cb063f2',
  56. 'name' => 'Currywurst',
  57. 'description' => '',
  58. 'is_master' => 1,
  59. 'filename' => 'currywurst.jpg',
  60. 'model' => 'Meal',
  61. 'foreign_id' => '63',
  62. 'created' => '2011-07-01 13:57:10',
  63. 'modified' => '2011-07-01 13:57:10'
  64. ],
  65. [
  66. 'id' => '4e0db616-db7c-47b6-a4ae-0c707cb063f2',
  67. 'name' => 'Dampfnudeln',
  68. 'description' => '',
  69. 'is_master' => 1,
  70. 'filename' => 'dampfnudeln.jpg',
  71. 'model' => 'Meal',
  72. 'foreign_id' => '31',
  73. 'created' => '2011-07-01 13:57:10',
  74. 'modified' => '2011-07-01 13:57:10'
  75. ],
  76. [
  77. 'id' => '4e0db617-0a40-4607-94c5-0c707cb063f2',
  78. 'name' => 'Enchilada',
  79. 'description' => '',
  80. 'is_master' => 1,
  81. 'filename' => 'enchilada.jpg',
  82. 'model' => 'Meal',
  83. 'foreign_id' => '109',
  84. 'created' => '2011-07-01 13:57:11',
  85. 'modified' => '2011-07-01 13:57:11'
  86. ],
  87. [
  88. 'id' => '4e0db617-e104-476e-b264-0c707cb063f2',
  89. 'name' => 'Entenfleisch',
  90. 'description' => '',
  91. 'is_master' => 1,
  92. 'filename' => 'entenfleisch-2.jpg',
  93. 'model' => 'Meal',
  94. 'foreign_id' => '52',
  95. 'created' => '2011-07-01 13:57:11',
  96. 'modified' => '2011-07-01 13:57:11'
  97. ],
  98. [
  99. 'id' => '4e0db617-b7ac-4e25-99a8-0c707cb063f2',
  100. 'name' => 'Griechischer Salat',
  101. 'description' => '',
  102. 'is_master' => 1,
  103. 'filename' => 'griechischer_salat.jpg',
  104. 'model' => 'Meal',
  105. 'foreign_id' => '99',
  106. 'created' => '2011-07-01 13:57:11',
  107. 'modified' => '2011-07-01 13:57:11'
  108. ],
  109. [
  110. 'id' => '4e0db617-17e4-4755-a2c1-0c707cb063f2',
  111. 'name' => 'Gyros',
  112. 'description' => '',
  113. 'is_master' => 1,
  114. 'filename' => 'gyros.jpg',
  115. 'model' => 'Meal',
  116. 'foreign_id' => '81',
  117. 'created' => '2011-07-01 13:57:11',
  118. 'modified' => '2011-07-01 13:57:11'
  119. ],
  120. [
  121. 'id' => '4e0db617-88bc-4e5c-af7c-0c707cb063f2',
  122. 'name' => 'Hähnchenschnitzel',
  123. 'description' => '',
  124. 'is_master' => 1,
  125. 'filename' => 'haehnchenschnitzel-2.jpg',
  126. 'model' => 'Meal',
  127. 'foreign_id' => '33',
  128. 'created' => '2011-07-01 13:57:11',
  129. 'modified' => '2011-07-01 13:57:11'
  130. ],
  131. [
  132. 'id' => '4e0db617-f5a0-450a-ab52-0c707cb063f2',
  133. 'name' => 'Hühnerfleisch',
  134. 'description' => '',
  135. 'is_master' => 1,
  136. 'filename' => 'huehnerfleisch-2.jpg',
  137. 'model' => 'Meal',
  138. 'foreign_id' => '72',
  139. 'created' => '2011-07-01 13:57:11',
  140. 'modified' => '2011-07-01 13:57:11'
  141. ],
  142. ];
  143. }