modmanagerlog.map.inc.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage sqlsrv
  5. */
  6. $xpdo_meta_map['modManagerLog']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'manager_log',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'fields' =>
  12. array (
  13. 'user' => 0,
  14. 'occurred' => '0000-00-00 00:00:00',
  15. 'action' => '',
  16. 'classKey' => '',
  17. 'item' => '0',
  18. ),
  19. 'fieldMeta' =>
  20. array (
  21. 'user' =>
  22. array (
  23. 'dbtype' => 'int',
  24. 'phptype' => 'integer',
  25. 'null' => false,
  26. 'default' => 0,
  27. ),
  28. 'occurred' =>
  29. array (
  30. 'dbtype' => 'datetime',
  31. 'phptype' => 'datetime',
  32. 'null' => true,
  33. 'default' => '0000-00-00 00:00:00',
  34. ),
  35. 'action' =>
  36. array (
  37. 'dbtype' => 'nvarchar',
  38. 'precision' => '100',
  39. 'phptype' => 'string',
  40. 'null' => false,
  41. 'default' => '',
  42. ),
  43. 'classKey' =>
  44. array (
  45. 'dbtype' => 'nvarchar',
  46. 'precision' => '100',
  47. 'phptype' => 'string',
  48. 'null' => false,
  49. 'default' => '',
  50. ),
  51. 'item' =>
  52. array (
  53. 'dbtype' => 'nvarchar',
  54. 'precision' => '255',
  55. 'phptype' => 'string',
  56. 'null' => false,
  57. 'default' => '0',
  58. ),
  59. ),
  60. 'aggregates' =>
  61. array (
  62. 'User' =>
  63. array (
  64. 'class' => 'modUser',
  65. 'local' => 'user',
  66. 'foreign' => 'id',
  67. 'owner' => 'foreign',
  68. 'cardinality' => 'one',
  69. ),
  70. ),
  71. );