LogFixture.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. /* Log Fixture generated on: 2011-11-20 21:59:10 : 1321822750 */
  3. /**
  4. * LogFixture
  5. *
  6. */
  7. class LogFixture 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. 'title' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  16. 'description' => array('type' => 'string', 'null' => false, 'default' => NULL, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  17. 'change' => array('type' => 'text', 'null' => false, 'default' => NULL, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  18. 'model' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  19. 'foreign_id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  20. 'action' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  21. 'user_id' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  22. 'created' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  23. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => NULL, 'collate' => NULL, 'comment' => ''),
  24. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  25. 'tableParameters' => array()
  26. );
  27. /**
  28. * Records
  29. *
  30. * @var array
  31. */
  32. public $records = array(
  33. array(
  34. 'id' => '10',
  35. 'title' => '2',
  36. 'description' => 'PrepaidAccount "2" (1) added by User "Admin" (16).',
  37. 'change' => 'amount () => (2), user_id () => (14), created () => (2011-07-30 18:36:55)',
  38. 'model' => 'PrepaidAccount',
  39. 'foreign_id' => '1',
  40. 'action' => 'add',
  41. 'user_id' => '16',
  42. 'created' => '2011-07-30 18:36:55',
  43. 'modified' => '2011-07-30 18:36:55'
  44. ),
  45. array(
  46. 'id' => '11',
  47. 'title' => '3',
  48. 'description' => 'PrepaidAccount "3" (2) added by User "Admin" (16).',
  49. 'change' => 'amount () => (3), user_id () => (14), created () => (2011-07-30 19:26:31)',
  50. 'model' => 'PrepaidAccount',
  51. 'foreign_id' => '2',
  52. 'action' => 'add',
  53. 'user_id' => '16',
  54. 'created' => '2011-07-30 19:26:31',
  55. 'modified' => '2011-07-30 19:26:31'
  56. ),
  57. array(
  58. 'id' => '12',
  59. 'title' => '1',
  60. 'description' => 'PrepaidAccount "1" (3) added by User "Admin" (16).',
  61. 'change' => 'amount () => (1), user_id () => (17), created () => (2011-07-30 20:46:18)',
  62. 'model' => 'PrepaidAccount',
  63. 'foreign_id' => '3',
  64. 'action' => 'add',
  65. 'user_id' => '16',
  66. 'created' => '2011-07-30 20:46:18',
  67. 'modified' => '2011-07-30 20:46:18'
  68. ),
  69. array(
  70. 'id' => '13',
  71. 'title' => '3.0000',
  72. 'description' => 'PrepaidAccount "3.0000" (2) deleted by User "Admin" (16).',
  73. 'change' => '',
  74. 'model' => 'PrepaidAccount',
  75. 'foreign_id' => '2',
  76. 'action' => 'delete',
  77. 'user_id' => '16',
  78. 'created' => '2011-07-30 20:46:21',
  79. 'modified' => '2011-07-30 20:46:21'
  80. ),
  81. array(
  82. 'id' => '14',
  83. 'title' => '2.50',
  84. 'description' => 'PrepaidAccount "2.50" (4) added by User "admin@admin.de" (16).',
  85. 'change' => 'amount () => (2.50), user_id () => (20), created () => (2011-09-16 10:21:39)',
  86. 'model' => 'PrepaidAccount',
  87. 'foreign_id' => '4',
  88. 'action' => 'add',
  89. 'user_id' => '16',
  90. 'created' => '2011-09-16 10:21:39',
  91. 'modified' => '2011-09-16 10:21:39'
  92. ),
  93. array(
  94. 'id' => '15',
  95. 'title' => '3.5000',
  96. 'description' => 'PrepaidAccount "3.5000" (4) updated by User "admin@admin.de" (16).',
  97. 'change' => 'amount (2.5000) => (3.5000)',
  98. 'model' => 'PrepaidAccount',
  99. 'foreign_id' => '4',
  100. 'action' => 'edit',
  101. 'user_id' => '16',
  102. 'created' => '2011-09-16 10:22:35',
  103. 'modified' => '2011-09-16 10:22:35'
  104. ),
  105. array(
  106. 'id' => '16',
  107. 'title' => '4',
  108. 'description' => 'PrepaidAccount "4" (1) updated by User "user@user.de" (14).',
  109. 'change' => 'amount (2.0000) => (4)',
  110. 'model' => 'PrepaidAccount',
  111. 'foreign_id' => '1',
  112. 'action' => 'edit',
  113. 'user_id' => '14',
  114. 'created' => '2011-09-23 17:13:40',
  115. 'modified' => '2011-09-23 17:13:40'
  116. ),
  117. array(
  118. 'id' => '17',
  119. 'title' => '4.0000',
  120. 'description' => 'Custom action by User "user@user.de" (14).',
  121. 'change' => '',
  122. 'model' => 'PrepaidAccount',
  123. 'foreign_id' => '1',
  124. 'action' => 'deposited (2.00)',
  125. 'user_id' => '14',
  126. 'created' => '2011-09-23 17:13:41',
  127. 'modified' => '2011-09-23 17:13:41'
  128. ),
  129. array(
  130. 'id' => '18',
  131. 'title' => '19',
  132. 'description' => 'PrepaidAccount "19" (1) updated by User "user@user.de" (14).',
  133. 'change' => 'amount (4.0000) => (19)',
  134. 'model' => 'PrepaidAccount',
  135. 'foreign_id' => '1',
  136. 'action' => 'edit',
  137. 'user_id' => '14',
  138. 'created' => '2011-09-23 17:14:57',
  139. 'modified' => '2011-09-23 17:14:57'
  140. ),
  141. array(
  142. 'id' => '19',
  143. 'title' => '19.0000',
  144. 'description' => 'Custom action by User "user@user.de" (14).',
  145. 'change' => '',
  146. 'model' => 'PrepaidAccount',
  147. 'foreign_id' => '1',
  148. 'action' => 'deposited (15.00)',
  149. 'user_id' => '14',
  150. 'created' => '2011-09-23 17:14:57',
  151. 'modified' => '2011-09-23 17:14:57'
  152. ),
  153. );
  154. }