modformcustomizationprofileusergroup.map.inc.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage sqlsrv
  5. */
  6. $xpdo_meta_map['modFormCustomizationProfileUserGroup']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'fc_profiles_usergroups',
  10. 'extends' => 'xPDOObject',
  11. 'fields' =>
  12. array (
  13. 'usergroup' => 0,
  14. 'profile' => 0,
  15. ),
  16. 'fieldMeta' =>
  17. array (
  18. 'usergroup' =>
  19. array (
  20. 'dbtype' => 'int',
  21. 'phptype' => 'integer',
  22. 'null' => false,
  23. 'default' => 0,
  24. 'index' => 'pk',
  25. ),
  26. 'profile' =>
  27. array (
  28. 'dbtype' => 'int',
  29. 'phptype' => 'integer',
  30. 'null' => false,
  31. 'default' => 0,
  32. 'index' => 'pk',
  33. ),
  34. ),
  35. 'indexes' =>
  36. array (
  37. 'PRIMARY' =>
  38. array (
  39. 'alias' => 'PRIMARY',
  40. 'primary' => true,
  41. 'unique' => true,
  42. 'type' => 'BTREE',
  43. 'columns' =>
  44. array (
  45. 'usergroup' =>
  46. array (
  47. 'length' => '',
  48. 'collation' => 'A',
  49. 'null' => false,
  50. ),
  51. 'profile' =>
  52. array (
  53. 'length' => '',
  54. 'collation' => 'A',
  55. 'null' => false,
  56. ),
  57. ),
  58. ),
  59. ),
  60. 'aggregates' =>
  61. array (
  62. 'UserGroup' =>
  63. array (
  64. 'class' => 'modUserGroup',
  65. 'local' => 'usergroup',
  66. 'foreign' => 'id',
  67. 'cardinality' => 'one',
  68. 'owner' => 'foreign',
  69. ),
  70. 'Profile' =>
  71. array (
  72. 'class' => 'modFormCustomizationProfile',
  73. 'local' => 'profile',
  74. 'foreign' => 'id',
  75. 'cardinality' => 'one',
  76. 'owner' => 'foreign',
  77. ),
  78. ),
  79. );