modformcustomizationprofile.map.inc.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modFormCustomizationProfile']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'fc_profiles',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'name' => '',
  18. 'description' => '',
  19. 'active' => 0,
  20. 'rank' => 0,
  21. ),
  22. 'fieldMeta' =>
  23. array (
  24. 'name' =>
  25. array (
  26. 'dbtype' => 'varchar',
  27. 'precision' => '191',
  28. 'phptype' => 'string',
  29. 'null' => false,
  30. 'default' => '',
  31. 'index' => 'index',
  32. ),
  33. 'description' =>
  34. array (
  35. 'dbtype' => 'text',
  36. 'phptype' => 'string',
  37. 'null' => false,
  38. 'default' => '',
  39. ),
  40. 'active' =>
  41. array (
  42. 'dbtype' => 'tinyint',
  43. 'precision' => '1',
  44. 'phptype' => 'integer',
  45. 'null' => false,
  46. 'default' => 0,
  47. 'index' => 'index',
  48. ),
  49. 'rank' =>
  50. array (
  51. 'dbtype' => 'int',
  52. 'precision' => '11',
  53. 'phptype' => 'integer',
  54. 'null' => false,
  55. 'default' => 0,
  56. 'index' => 'index',
  57. ),
  58. ),
  59. 'indexes' =>
  60. array (
  61. 'name' =>
  62. array (
  63. 'alias' => 'name',
  64. 'primary' => false,
  65. 'unique' => false,
  66. 'type' => 'BTREE',
  67. 'columns' =>
  68. array (
  69. 'name' =>
  70. array (
  71. 'length' => '',
  72. 'collation' => 'A',
  73. 'null' => false,
  74. ),
  75. ),
  76. ),
  77. 'rank' =>
  78. array (
  79. 'alias' => 'rank',
  80. 'primary' => false,
  81. 'unique' => false,
  82. 'type' => 'BTREE',
  83. 'columns' =>
  84. array (
  85. 'rank' =>
  86. array (
  87. 'length' => '',
  88. 'collation' => 'A',
  89. 'null' => false,
  90. ),
  91. ),
  92. ),
  93. 'active' =>
  94. array (
  95. 'alias' => 'active',
  96. 'primary' => false,
  97. 'unique' => false,
  98. 'type' => 'BTREE',
  99. 'columns' =>
  100. array (
  101. 'active' =>
  102. array (
  103. 'length' => '',
  104. 'collation' => 'A',
  105. 'null' => false,
  106. ),
  107. ),
  108. ),
  109. ),
  110. 'composites' =>
  111. array (
  112. 'Sets' =>
  113. array (
  114. 'class' => 'modFormCustomizationSet',
  115. 'local' => 'id',
  116. 'foreign' => 'profile',
  117. 'cardinality' => 'many',
  118. 'owner' => 'local',
  119. ),
  120. 'UserGroups' =>
  121. array (
  122. 'class' => 'modFormCustomizationProfileUserGroup',
  123. 'local' => 'id',
  124. 'foreign' => 'profile',
  125. 'cardinality' => 'many',
  126. 'owner' => 'local',
  127. ),
  128. ),
  129. );