modaccesselement.map.inc.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modAccessElement']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'access_elements',
  10. 'extends' => 'modAccess',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'context_key' => '',
  18. ),
  19. 'fieldMeta' =>
  20. array (
  21. 'context_key' =>
  22. array (
  23. 'dbtype' => 'varchar',
  24. 'precision' => '100',
  25. 'phptype' => 'string',
  26. 'null' => false,
  27. 'default' => '',
  28. 'index' => 'fk',
  29. ),
  30. ),
  31. 'indexes' =>
  32. array (
  33. 'context_key' =>
  34. array (
  35. 'alias' => 'context_key',
  36. 'primary' => false,
  37. 'unique' => false,
  38. 'type' => 'BTREE',
  39. 'columns' =>
  40. array (
  41. 'context_key' =>
  42. array (
  43. 'length' => '',
  44. 'collation' => 'A',
  45. 'null' => false,
  46. ),
  47. ),
  48. ),
  49. ),
  50. 'aggregates' =>
  51. array (
  52. 'Target' =>
  53. array (
  54. 'class' => 'modElement',
  55. 'local' => 'target',
  56. 'foreign' => 'id',
  57. 'owner' => 'foreign',
  58. 'cardinality' => 'one',
  59. ),
  60. 'Context' =>
  61. array (
  62. 'class' => 'modContext',
  63. 'local' => 'context_key',
  64. 'foreign' => 'key',
  65. 'cardinality' => 'one',
  66. 'owner' => 'foreign',
  67. ),
  68. ),
  69. );