modaccesspermission.map.inc.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage sqlsrv
  5. */
  6. $xpdo_meta_map['modAccessPermission']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'access_permissions',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'fields' =>
  12. array (
  13. 'template' => 0,
  14. 'name' => '',
  15. 'description' => '',
  16. 'value' => 1,
  17. ),
  18. 'fieldMeta' =>
  19. array (
  20. 'template' =>
  21. array (
  22. 'dbtype' => 'int',
  23. 'phptype' => 'integer',
  24. 'null' => false,
  25. 'default' => 0,
  26. 'index' => 'index',
  27. ),
  28. 'name' =>
  29. array (
  30. 'dbtype' => 'nvarchar',
  31. 'precision' => '255',
  32. 'phptype' => 'string',
  33. 'null' => false,
  34. 'default' => '',
  35. 'index' => 'index',
  36. ),
  37. 'description' =>
  38. array (
  39. 'dbtype' => 'nvarchar',
  40. 'precision' => 'max',
  41. 'phptype' => 'string',
  42. 'null' => false,
  43. 'default' => '',
  44. ),
  45. 'value' =>
  46. array (
  47. 'dbtype' => 'bit',
  48. 'phptype' => 'boolean',
  49. 'null' => false,
  50. 'default' => 1,
  51. ),
  52. ),
  53. 'indexes' =>
  54. array (
  55. 'template' =>
  56. array (
  57. 'alias' => 'template',
  58. 'primary' => false,
  59. 'unique' => false,
  60. 'type' => 'BTREE',
  61. 'columns' =>
  62. array (
  63. 'template' =>
  64. array (
  65. 'length' => '',
  66. 'collation' => 'A',
  67. 'null' => false,
  68. ),
  69. ),
  70. ),
  71. 'name' =>
  72. array (
  73. 'alias' => 'name',
  74. 'primary' => false,
  75. 'unique' => false,
  76. 'type' => 'BTREE',
  77. 'columns' =>
  78. array (
  79. 'name' =>
  80. array (
  81. 'length' => '',
  82. 'collation' => 'A',
  83. 'null' => false,
  84. ),
  85. ),
  86. ),
  87. ),
  88. 'aggregates' =>
  89. array (
  90. 'Template' =>
  91. array (
  92. 'class' => 'modAccessPolicyTemplate',
  93. 'local' => 'template',
  94. 'foreign' => 'id',
  95. 'cardinality' => 'one',
  96. 'owner' => 'foreign',
  97. ),
  98. ),
  99. );