Cleanup on making the schema work for installer (not quite there yet)

This commit is contained in:
Brion Vibber
2010-10-15 13:47:38 -07:00
parent 77300f94a3
commit 90c35dc541
3 changed files with 33 additions and 20 deletions

View File

@@ -246,13 +246,13 @@ class MysqlSchema extends Schema
/**
* Close out a 'create table' SQL statement.
*
* @param array $sql
* @param string $name
* @param array $def
* @return string;
*/
function appendCreateTableEnd(array &$sql, $name, array $def)
function endCreateTable($name, array $def)
{
$sql[] = ") ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin";
return ") ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin";
}
/**
@@ -286,7 +286,7 @@ class MysqlSchema extends Schema
* @return boolean success flag
*/
public function ensureTable($tableName, $columns)
public function oldensureTable($tableName, $columns)
{
// XXX: DB engine portability -> toilet