modmanagerlog.map.inc.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modManagerLog']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'manager_log',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'user' => 0,
  18. 'occurred' => NULL,
  19. 'action' => '',
  20. 'classKey' => '',
  21. 'item' => '0',
  22. ),
  23. 'fieldMeta' =>
  24. array (
  25. 'user' =>
  26. array (
  27. 'dbtype' => 'int',
  28. 'precision' => '10',
  29. 'attributes' => 'unsigned',
  30. 'phptype' => 'integer',
  31. 'null' => false,
  32. 'default' => 0,
  33. ),
  34. 'occurred' =>
  35. array (
  36. 'dbtype' => 'datetime',
  37. 'phptype' => 'datetime',
  38. 'null' => true,
  39. 'default' => NULL,
  40. ),
  41. 'action' =>
  42. array (
  43. 'dbtype' => 'varchar',
  44. 'precision' => '100',
  45. 'phptype' => 'string',
  46. 'null' => false,
  47. 'default' => '',
  48. ),
  49. 'classKey' =>
  50. array (
  51. 'dbtype' => 'varchar',
  52. 'precision' => '100',
  53. 'phptype' => 'string',
  54. 'null' => false,
  55. 'default' => '',
  56. ),
  57. 'item' =>
  58. array (
  59. 'dbtype' => 'varchar',
  60. 'precision' => '191',
  61. 'phptype' => 'string',
  62. 'null' => false,
  63. 'default' => '0',
  64. ),
  65. ),
  66. 'indexes' =>
  67. array (
  68. 'user_occurred' =>
  69. array (
  70. 'alias' => 'user_occurred',
  71. 'primary' => false,
  72. 'unique' => false,
  73. 'type' => 'BTREE',
  74. 'columns' =>
  75. array (
  76. 'user' =>
  77. array (
  78. 'length' => '',
  79. 'collation' => 'A',
  80. 'null' => false,
  81. ),
  82. 'occurred' =>
  83. array (
  84. 'length' => '',
  85. 'collation' => 'A',
  86. 'null' => false,
  87. ),
  88. ),
  89. ),
  90. ),
  91. 'aggregates' =>
  92. array (
  93. 'User' =>
  94. array (
  95. 'class' => 'modUser',
  96. 'local' => 'user',
  97. 'foreign' => 'id',
  98. 'owner' => 'foreign',
  99. 'cardinality' => 'one',
  100. ),
  101. ),
  102. );