Browse Source

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 năm trước cách đây
mục cha
commit
f21c3bacf1
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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";
 	}
-?>
+?>