modextensionpackage.map.inc.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modExtensionPackage']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'extension_packages',
  10. 'extends' => 'xPDOSimpleObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'namespace' => 'core',
  18. 'name' => 'core',
  19. 'path' => NULL,
  20. 'table_prefix' => '',
  21. 'service_class' => '',
  22. 'service_name' => '',
  23. 'created_at' => NULL,
  24. 'updated_at' => NULL,
  25. ),
  26. 'fieldMeta' =>
  27. array (
  28. 'namespace' =>
  29. array (
  30. 'dbtype' => 'varchar',
  31. 'precision' => '40',
  32. 'phptype' => 'string',
  33. 'null' => false,
  34. 'default' => 'core',
  35. 'index' => 'index',
  36. ),
  37. 'name' =>
  38. array (
  39. 'dbtype' => 'varchar',
  40. 'precision' => '100',
  41. 'phptype' => 'string',
  42. 'null' => false,
  43. 'default' => 'core',
  44. 'index' => 'index',
  45. ),
  46. 'path' =>
  47. array (
  48. 'dbtype' => 'text',
  49. 'phptype' => 'string',
  50. 'null' => true,
  51. ),
  52. 'table_prefix' =>
  53. array (
  54. 'dbtype' => 'varchar',
  55. 'precision' => '191',
  56. 'phptype' => 'string',
  57. 'null' => false,
  58. 'default' => '',
  59. ),
  60. 'service_class' =>
  61. array (
  62. 'dbtype' => 'varchar',
  63. 'precision' => '191',
  64. 'phptype' => 'string',
  65. 'null' => false,
  66. 'default' => '',
  67. ),
  68. 'service_name' =>
  69. array (
  70. 'dbtype' => 'varchar',
  71. 'precision' => '191',
  72. 'phptype' => 'string',
  73. 'null' => false,
  74. 'default' => '',
  75. ),
  76. 'created_at' =>
  77. array (
  78. 'dbtype' => 'datetime',
  79. 'phptype' => 'datetime',
  80. 'null' => true,
  81. ),
  82. 'updated_at' =>
  83. array (
  84. 'dbtype' => 'datetime',
  85. 'phptype' => 'datetime',
  86. 'null' => true,
  87. ),
  88. ),
  89. 'indexes' =>
  90. array (
  91. 'namespace' =>
  92. array (
  93. 'alias' => 'namespace',
  94. 'primary' => false,
  95. 'unique' => false,
  96. 'type' => 'BTREE',
  97. 'columns' =>
  98. array (
  99. 'namespace' =>
  100. array (
  101. 'length' => '',
  102. 'collation' => 'A',
  103. 'null' => false,
  104. ),
  105. ),
  106. ),
  107. 'name' =>
  108. array (
  109. 'alias' => 'name',
  110. 'primary' => false,
  111. 'unique' => false,
  112. 'type' => 'BTREE',
  113. 'columns' =>
  114. array (
  115. 'name' =>
  116. array (
  117. 'length' => '',
  118. 'collation' => 'A',
  119. 'null' => false,
  120. ),
  121. ),
  122. ),
  123. ),
  124. 'aggregates' =>
  125. array (
  126. 'Namespace' =>
  127. array (
  128. 'class' => 'modNamespace',
  129. 'local' => 'namespace',
  130. 'foreign' => 'name',
  131. 'cardinality' => 'one',
  132. 'owner' => 'foreign',
  133. ),
  134. ),
  135. );