modsystemsetting.map.inc.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?php
  2. /**
  3. * @package modx
  4. * @subpackage mysql
  5. */
  6. $xpdo_meta_map['modSystemSetting']= array (
  7. 'package' => 'modx',
  8. 'version' => '1.1',
  9. 'table' => 'system_settings',
  10. 'extends' => 'xPDOObject',
  11. 'tableMeta' =>
  12. array (
  13. 'engine' => 'InnoDB',
  14. ),
  15. 'fields' =>
  16. array (
  17. 'key' => '',
  18. 'value' => '',
  19. 'xtype' => 'textfield',
  20. 'namespace' => 'core',
  21. 'area' => '',
  22. 'editedon' => NULL,
  23. ),
  24. 'fieldMeta' =>
  25. array (
  26. 'key' =>
  27. array (
  28. 'dbtype' => 'varchar',
  29. 'precision' => '50',
  30. 'phptype' => 'string',
  31. 'null' => false,
  32. 'default' => '',
  33. 'index' => 'pk',
  34. ),
  35. 'value' =>
  36. array (
  37. 'dbtype' => 'text',
  38. 'phptype' => 'string',
  39. 'null' => false,
  40. 'default' => '',
  41. ),
  42. 'xtype' =>
  43. array (
  44. 'dbtype' => 'varchar',
  45. 'precision' => '75',
  46. 'phptype' => 'string',
  47. 'null' => false,
  48. 'default' => 'textfield',
  49. ),
  50. 'namespace' =>
  51. array (
  52. 'dbtype' => 'varchar',
  53. 'precision' => '40',
  54. 'phptype' => 'string',
  55. 'null' => false,
  56. 'default' => 'core',
  57. ),
  58. 'area' =>
  59. array (
  60. 'dbtype' => 'varchar',
  61. 'precision' => '191',
  62. 'phptype' => 'string',
  63. 'null' => false,
  64. 'default' => '',
  65. ),
  66. 'editedon' =>
  67. array (
  68. 'dbtype' => 'timestamp',
  69. 'phptype' => 'timestamp',
  70. 'null' => true,
  71. 'default' => NULL,
  72. 'attributes' => 'ON UPDATE CURRENT_TIMESTAMP',
  73. ),
  74. ),
  75. 'indexes' =>
  76. array (
  77. 'PRIMARY' =>
  78. array (
  79. 'alias' => 'PRIMARY',
  80. 'primary' => true,
  81. 'unique' => true,
  82. 'type' => 'BTREE',
  83. 'columns' =>
  84. array (
  85. 'key' =>
  86. array (
  87. 'length' => '',
  88. 'collation' => 'A',
  89. 'null' => false,
  90. ),
  91. ),
  92. ),
  93. ),
  94. 'aggregates' =>
  95. array (
  96. 'ContextSetting' =>
  97. array (
  98. 'class' => 'modContextSetting',
  99. 'local' => 'key',
  100. 'foreign' => 'key',
  101. 'cardinality' => 'one',
  102. 'owner' => 'local',
  103. ),
  104. 'Namespace' =>
  105. array (
  106. 'class' => 'modNamespace',
  107. 'local' => 'namespace',
  108. 'foreign' => 'name',
  109. 'cardinality' => 'one',
  110. 'owner' => 'foreign',
  111. ),
  112. ),
  113. );