Эх сурвалжийг харах

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 жил өмнө
parent
commit
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";
 	}
-?>
+?>