浏览代码

Added ['type'] so that it is applied as $field['key']['type'] so that it is uniform across all app_config.php files.

Mark Crane 12 年之前
父节点
当前提交
f21c3bacf1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      core/apps/app_config.php
  2. 1 1
      index.php

+ 1 - 1
core/apps/app_config.php

@@ -58,7 +58,7 @@
 		$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
 		$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
 		$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
-		$apps[$x]['db'][$y]['fields'][$z]['key'] = 'primary';
+		$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
 		$z++;
 
 ?>

+ 1 - 1
index.php

@@ -55,4 +55,4 @@ include "root.php";
 		echo "<br /><br />\n";
 		require_once "resources/footer.php";
 	}
-?>
+?>