modsystemsetting.map.inc.php 2.1 KB

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