Fix the primary key on the dev branch.
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user