| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?php
- /**
- * LogFixture
- *
- */
- class LogFixture extends CakeTestFixture {
- /**
- * Fields
- *
- * @var array
- */
- public $fields = [
- 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''],
- 'title' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'description' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'change' => ['type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'model' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'foreign_key' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'action' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'user_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
- 'modified' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
- 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
- 'tableParameters' => []
- ];
- /**
- * Records
- *
- * @var array
- */
- public $records = [
- [
- 'id' => '10',
- 'title' => '2',
- 'description' => 'PrepaidAccount "2" (1) added by User "Admin" (16).',
- 'change' => 'amount () => (2), user_id () => (14), created () => (2011-07-30 18:36:55)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '1',
- 'action' => 'add',
- 'user_id' => '16',
- 'created' => '2011-07-30 18:36:55',
- 'modified' => '2011-07-30 18:36:55'
- ],
- [
- 'id' => '11',
- 'title' => '3',
- 'description' => 'PrepaidAccount "3" (2) added by User "Admin" (16).',
- 'change' => 'amount () => (3), user_id () => (14), created () => (2011-07-30 19:26:31)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '2',
- 'action' => 'add',
- 'user_id' => '16',
- 'created' => '2011-07-30 19:26:31',
- 'modified' => '2011-07-30 19:26:31'
- ],
- [
- 'id' => '12',
- 'title' => '1',
- 'description' => 'PrepaidAccount "1" (3) added by User "Admin" (16).',
- 'change' => 'amount () => (1), user_id () => (17), created () => (2011-07-30 20:46:18)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '3',
- 'action' => 'add',
- 'user_id' => '16',
- 'created' => '2011-07-30 20:46:18',
- 'modified' => '2011-07-30 20:46:18'
- ],
- [
- 'id' => '13',
- 'title' => '3.0000',
- 'description' => 'PrepaidAccount "3.0000" (2) deleted by User "Admin" (16).',
- 'change' => '',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '2',
- 'action' => 'delete',
- 'user_id' => '16',
- 'created' => '2011-07-30 20:46:21',
- 'modified' => '2011-07-30 20:46:21'
- ],
- [
- 'id' => '14',
- 'title' => '2.50',
- 'description' => 'PrepaidAccount "2.50" (4) added by User "admin@admin.de" (16).',
- 'change' => 'amount () => (2.50), user_id () => (20), created () => (2011-09-16 10:21:39)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '4',
- 'action' => 'add',
- 'user_id' => '16',
- 'created' => '2011-09-16 10:21:39',
- 'modified' => '2011-09-16 10:21:39'
- ],
- [
- 'id' => '15',
- 'title' => '3.5000',
- 'description' => 'PrepaidAccount "3.5000" (4) updated by User "admin@admin.de" (16).',
- 'change' => 'amount (2.5000) => (3.5000)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '4',
- 'action' => 'edit',
- 'user_id' => '16',
- 'created' => '2011-09-16 10:22:35',
- 'modified' => '2011-09-16 10:22:35'
- ],
- [
- 'id' => '16',
- 'title' => '4',
- 'description' => 'PrepaidAccount "4" (1) updated by User "user@user.de" (14).',
- 'change' => 'amount (2.0000) => (4)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '1',
- 'action' => 'edit',
- 'user_id' => '14',
- 'created' => '2011-09-23 17:13:40',
- 'modified' => '2011-09-23 17:13:40'
- ],
- [
- 'id' => '17',
- 'title' => '4.0000',
- 'description' => 'Custom action by User "user@user.de" (14).',
- 'change' => '',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '1',
- 'action' => 'deposited (2.00)',
- 'user_id' => '14',
- 'created' => '2011-09-23 17:13:41',
- 'modified' => '2011-09-23 17:13:41'
- ],
- [
- 'id' => '18',
- 'title' => '19',
- 'description' => 'PrepaidAccount "19" (1) updated by User "user@user.de" (14).',
- 'change' => 'amount (4.0000) => (19)',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '1',
- 'action' => 'edit',
- 'user_id' => '14',
- 'created' => '2011-09-23 17:14:57',
- 'modified' => '2011-09-23 17:14:57'
- ],
- [
- 'id' => '19',
- 'title' => '19.0000',
- 'description' => 'Custom action by User "user@user.de" (14).',
- 'change' => '',
- 'model' => 'PrepaidAccount',
- 'foreign_key' => '1',
- 'action' => 'deposited (15.00)',
- 'user_id' => '14',
- 'created' => '2011-09-23 17:14:57',
- 'modified' => '2011-09-23 17:14:57'
- ],
- ];
- }
|