modformcustomizationprofile.map.inc.php 2.4 KB

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