moddashboard.map.inc.php 2.0 KB

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