mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Updated obsolete PDODatabase not to have a parse error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77570 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
86c7c2a3bd
commit
b5a0b94b96
@ -279,7 +279,7 @@ class PDODatabase extends Database {
|
||||
* @var string $tableName The name of the table.
|
||||
* @return void.
|
||||
*/
|
||||
public function createTable($tableName, $fields = null, $indexes = null) {
|
||||
public function createTable($tableName, $fields = null, $indexes = null, $options = null) {
|
||||
$fieldSchemas = $indexSchemas = "";
|
||||
if ($fields) {
|
||||
foreach($fields as $k => $v) $fieldSchemas .= "\"$k\" $v,\n";
|
||||
|
Loading…
Reference in New Issue
Block a user