modformcustomizationset.map.inc.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modFormCustomizationSet']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'fc_sets',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'profile' => 0,
  18. 'action' => '',
  19. 'description' => '',
  20. 'active' => 0,
  21. 'template' => 0,
  22. 'constraint' => '',
  23. 'constraint_field' => '',
  24. 'constraint_class' => '',
  25. ),
  26. 'fieldMeta' =>
  27. array (
  28. 'profile' =>
  29. array (
  30. 'dbtype' => 'integer',
  31. 'precision' => '11',
  32. 'phptype' => 'integer',
  33. 'null' => false,
  34. 'default' => 0,
  35. 'index' => 'index',
  36. ),
  37. 'action' =>
  38. array (
  39. 'dbtype' => 'nvarchar',
  40. 'precision' => '191',
  41. 'phptype' => 'string',
  42. 'null' => false,
  43. 'default' => '',
  44. 'index' => 'index',
  45. ),
  46. 'description' =>
  47. array (
  48. 'dbtype' => 'text',
  49. 'phptype' => 'string',
  50. 'null' => false,
  51. 'default' => '',
  52. ),
  53. 'active' =>
  54. array (
  55. 'dbtype' => 'tinyint',
  56. 'precision' => '1',
  57. 'phptype' => 'integer',
  58. 'null' => false,
  59. 'default' => 0,
  60. 'index' => 'index',
  61. ),
  62. 'template' =>
  63. array (
  64. 'dbtype' => 'integer',
  65. 'precision' => '11',
  66. 'phptype' => 'integer',
  67. 'null' => false,
  68. 'default' => 0,
  69. 'index' => 'index',
  70. ),
  71. 'constraint' =>
  72. array (
  73. 'dbtype' => 'varchar',
  74. 'precision' => '191',
  75. 'phptype' => 'string',
  76. 'null' => false,
  77. 'default' => '',
  78. ),
  79. 'constraint_field' =>
  80. array (
  81. 'dbtype' => 'varchar',
  82. 'precision' => '100',
  83. 'phptype' => 'string',
  84. 'null' => false,
  85. 'default' => '',
  86. ),
  87. 'constraint_class' =>
  88. array (
  89. 'dbtype' => 'varchar',
  90. 'precision' => '100',
  91. 'phptype' => 'string',
  92. 'null' => false,
  93. 'default' => '',
  94. ),
  95. ),
  96. 'indexes' =>
  97. array (
  98. 'profile' =>
  99. array (
  100. 'alias' => 'profile',
  101. 'primary' => false,
  102. 'unique' => false,
  103. 'type' => 'BTREE',
  104. 'columns' =>
  105. array (
  106. 'profile' =>
  107. array (
  108. 'length' => '',
  109. 'collation' => 'A',
  110. 'null' => false,
  111. ),
  112. ),
  113. ),
  114. 'action' =>
  115. array (
  116. 'alias' => 'action',
  117. 'primary' => false,
  118. 'unique' => false,
  119. 'type' => 'BTREE',
  120. 'columns' =>
  121. array (
  122. 'action' =>
  123. array (
  124. 'length' => '',
  125. 'collation' => 'A',
  126. 'null' => false,
  127. ),
  128. ),
  129. ),
  130. 'active' =>
  131. array (
  132. 'alias' => 'active',
  133. 'primary' => false,
  134. 'unique' => false,
  135. 'type' => 'BTREE',
  136. 'columns' =>
  137. array (
  138. 'active' =>
  139. array (
  140. 'length' => '',
  141. 'collation' => 'A',
  142. 'null' => false,
  143. ),
  144. ),
  145. ),
  146. 'template' =>
  147. array (
  148. 'alias' => 'template',
  149. 'primary' => false,
  150. 'unique' => false,
  151. 'type' => 'BTREE',
  152. 'columns' =>
  153. array (
  154. 'template' =>
  155. array (
  156. 'length' => '',
  157. 'collation' => 'A',
  158. 'null' => false,
  159. ),
  160. ),
  161. ),
  162. ),
  163. 'composites' =>
  164. array (
  165. 'Rules' =>
  166. array (
  167. 'class' => 'modActionDom',
  168. 'local' => 'id',
  169. 'foreign' => 'set',
  170. 'cardinality' => 'many',
  171. 'owner' => 'local',
  172. ),
  173. ),
  174. 'aggregates' =>
  175. array (
  176. 'Action' =>
  177. array (
  178. 'class' => 'modAction',
  179. 'local' => 'action',
  180. 'foreign' => 'id',
  181. 'cardinality' => 'one',
  182. 'owner' => 'foreign',
  183. ),
  184. 'Template' =>
  185. array (
  186. 'class' => 'modTemplate',
  187. 'local' => 'template',
  188. 'foreign' => 'id',
  189. 'cardinality' => 'one',
  190. 'owner' => 'foreign',
  191. ),
  192. 'Profile' =>
  193. array (
  194. 'class' => 'modFormCustomizationProfile',
  195. 'local' => 'profile',
  196. 'foreign' => 'id',
  197. 'cardinality' => 'one',
  198. 'owner' => 'foreign',
  199. ),
  200. ),
  201. );