Fix the primary key on the dev branch.

This commit is contained in:
Mark Crane
2013-09-07 16:25:35 +00:00
parent 1b68de90ed
commit d3ebb46dc6
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -188,6 +188,9 @@ function db_create_table ($apps, $db_type, $table) {
else {
$sql .= $field['type'];
}
if ($field['key'] == "primary") {
$sql .= " PRIMARY KEY";
}
$field_count++;
}
}