modusergroupsetting.map.inc.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modUserGroupSetting']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'user_group_settings',
  10. 'extends' => 'xPDOObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'group' => 0,
  18. 'key' => NULL,
  19. 'value' => NULL,
  20. 'xtype' => 'textfield',
  21. 'namespace' => 'core',
  22. 'area' => '',
  23. 'editedon' => NULL,
  24. ),
  25. 'fieldMeta' =>
  26. array (
  27. 'group' =>
  28. array (
  29. 'dbtype' => 'integer',
  30. 'attributes' => 'unsigned',
  31. 'phptype' => 'integer',
  32. 'null' => false,
  33. 'default' => 0,
  34. 'index' => 'pk',
  35. ),
  36. 'key' =>
  37. array (
  38. 'dbtype' => 'varchar',
  39. 'precision' => '50',
  40. 'phptype' => 'string',
  41. 'null' => false,
  42. 'index' => 'pk',
  43. ),
  44. 'value' =>
  45. array (
  46. 'dbtype' => 'text',
  47. 'phptype' => 'string',
  48. ),
  49. 'xtype' =>
  50. array (
  51. 'dbtype' => 'varchar',
  52. 'precision' => '75',
  53. 'phptype' => 'string',
  54. 'null' => false,
  55. 'default' => 'textfield',
  56. ),
  57. 'namespace' =>
  58. array (
  59. 'dbtype' => 'varchar',
  60. 'precision' => '40',
  61. 'phptype' => 'string',
  62. 'null' => false,
  63. 'default' => 'core',
  64. ),
  65. 'area' =>
  66. array (
  67. 'dbtype' => 'varchar',
  68. 'precision' => '191',
  69. 'phptype' => 'string',
  70. 'null' => false,
  71. 'default' => '',
  72. ),
  73. 'editedon' =>
  74. array (
  75. 'dbtype' => 'timestamp',
  76. 'phptype' => 'timestamp',
  77. 'null' => true,
  78. 'default' => NULL,
  79. 'attributes' => 'ON UPDATE CURRENT_TIMESTAMP',
  80. ),
  81. ),
  82. 'indexes' =>
  83. array (
  84. 'PRIMARY' =>
  85. array (
  86. 'alias' => 'PRIMARY',
  87. 'primary' => true,
  88. 'unique' => true,
  89. 'type' => 'BTREE',
  90. 'columns' =>
  91. array (
  92. 'group' =>
  93. array (
  94. 'length' => '',
  95. 'collation' => 'A',
  96. 'null' => false,
  97. ),
  98. 'key' =>
  99. array (
  100. 'length' => '',
  101. 'collation' => 'A',
  102. 'null' => false,
  103. ),
  104. ),
  105. ),
  106. ),
  107. 'aggregates' =>
  108. array (
  109. 'UserGroup' =>
  110. array (
  111. 'class' => 'modUserGroup',
  112. 'local' => 'group',
  113. 'foreign' => 'id',
  114. 'cardinality' => 'one',
  115. 'owner' => 'foreign',
  116. ),
  117. 'Namespace' =>
  118. array (
  119. 'class' => 'modNamespace',
  120. 'local' => 'namespace',
  121. 'foreign' => 'name',
  122. 'cardinality' => 'one',
  123. 'owner' => 'foreign',
  124. ),
  125. ),
  126. );