modaccesspermission.map.inc.php 2.0 KB

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