TokenFixture.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /* Token Fixture generated on: 2011-11-20 21:58:47 : 1321822727 */
  3. /**
  4. * TokenFixture
  5. *
  6. */
  7. class TokenFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = [
  14. 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''],
  15. 'user_id' => ['type' => 'string', 'null' => true, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  16. 'type' => ['type' => 'string', 'null' => false, 'length' => 10, 'collate' => 'utf8_unicode_ci', 'comment' => 'e.g.:activate,reactivate', 'charset' => 'utf8'],
  17. 'key' => ['type' => 'string', 'null' => false, 'length' => 60, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  18. 'content' => ['type' => 'string', 'null' => false, 'collate' => 'utf8_unicode_ci', 'comment' => 'can transport some information', 'charset' => 'utf8'],
  19. 'used' => ['type' => 'boolean', 'null' => false, 'default' => '0', 'collate' => null, 'comment' => ''],
  20. 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  21. 'modified' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  22. 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
  23. 'tableParameters' => []
  24. ];
  25. /**
  26. * Records
  27. *
  28. * @var array
  29. */
  30. public $records = [
  31. [
  32. 'id' => '77',
  33. 'user_id' => '1',
  34. 'type' => 'qlogin',
  35. 'key' => '7k8qdcizigtudvxn2v9zep',
  36. 'content' => 'i:1;',
  37. 'used' => 0,
  38. 'created' => '2011-08-02 18:00:41',
  39. 'modified' => '2011-08-02 18:00:41'
  40. ],
  41. [
  42. 'id' => '78',
  43. 'user_id' => '2',
  44. 'type' => 'qlogin',
  45. 'key' => '23e32tpkcmdn8x9j8n0n00',
  46. 'content' => 'i:2;',
  47. 'used' => 0,
  48. 'created' => '2011-08-02 18:00:41',
  49. 'modified' => '2011-08-02 18:00:41'
  50. ],
  51. [
  52. 'id' => '79',
  53. 'user_id' => '1',
  54. 'type' => 'qlogin',
  55. 'key' => '3mpzed7eoewsjvyvg4vy35',
  56. 'content' => 'a:3:{s:10:"controller";s:4:"test";s:6:"action";s:3:"foo";i:0;s:3:"bar";}',
  57. 'used' => 1,
  58. 'created' => '2011-08-02 18:00:41',
  59. 'modified' => '2011-08-02 18:00:41'
  60. ],
  61. [
  62. 'id' => '80',
  63. 'user_id' => '2',
  64. 'type' => 'qlogin',
  65. 'key' => 'af8ww4y7jxzq5n6npmjpxx',
  66. 'content' => 's:13:"/test/foo/bar";',
  67. 'used' => 1,
  68. 'created' => '2011-08-02 18:00:41',
  69. 'modified' => '2011-08-02 18:00:41'
  70. ],
  71. [
  72. 'id' => '81',
  73. 'user_id' => '1',
  74. 'type' => 'qlogin',
  75. 'key' => '2s7i3zjw0rn009j4no552b',
  76. 'content' => 'i:1;',
  77. 'used' => 0,
  78. 'created' => '2011-08-02 18:01:16',
  79. 'modified' => '2011-08-02 18:01:16'
  80. ],
  81. [
  82. 'id' => '82',
  83. 'user_id' => '2',
  84. 'type' => 'qlogin',
  85. 'key' => 'tro596dig63cay0ps09vre',
  86. 'content' => 'i:2;',
  87. 'used' => 0,
  88. 'created' => '2011-08-02 18:01:16',
  89. 'modified' => '2011-08-02 18:01:16'
  90. ],
  91. [
  92. 'id' => '83',
  93. 'user_id' => '1',
  94. 'type' => 'qlogin',
  95. 'key' => 'penfangwc40x550wwvgfmu',
  96. 'content' => 'a:3:{s:10:"controller";s:4:"test";s:6:"action";s:3:"foo";i:0;s:3:"bar";}',
  97. 'used' => 1,
  98. 'created' => '2011-08-02 18:01:16',
  99. 'modified' => '2011-08-02 18:01:16'
  100. ],
  101. [
  102. 'id' => '84',
  103. 'user_id' => '2',
  104. 'type' => 'qlogin',
  105. 'key' => '2y7m5srasm3ozej0izxbhe',
  106. 'content' => 's:13:"/test/foo/bar";',
  107. 'used' => 1,
  108. 'created' => '2011-08-02 18:01:16',
  109. 'modified' => '2011-08-02 18:01:16'
  110. ],
  111. [
  112. 'id' => '85',
  113. 'user_id' => '1',
  114. 'type' => 'qlogin',
  115. 'key' => '5c6dp2w54ynxii2xo3c50m',
  116. 'content' => 'i:1;',
  117. 'used' => 0,
  118. 'created' => '2011-08-02 18:01:54',
  119. 'modified' => '2011-08-02 18:01:54'
  120. ],
  121. [
  122. 'id' => '86',
  123. 'user_id' => '2',
  124. 'type' => 'qlogin',
  125. 'key' => 'fr6a0d4waue2v6hmqeyek5',
  126. 'content' => 'i:2;',
  127. 'used' => 0,
  128. 'created' => '2011-08-02 18:01:54',
  129. 'modified' => '2011-08-02 18:01:54'
  130. ],
  131. ];
  132. }