Permalink
Browse files

Expand on comments so it is clear what akiban does/does not support.

  • Loading branch information...
1 parent 390d5a9 commit ab0a45628fb93a22ac79c83a57881f0762649ef0 @posulliv committed Aug 24, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
@@ -324,7 +324,7 @@ public function getAlterTableSQL(TableDiff $diff)
$query = "ADD " . $this->getColumnDeclarationSQL($column->getQuotedName($this), $column->toArray());
$sql[] = "ALTER TABLE " . $diff->name . " " . $query;
if ($comment = $this->getColumnComment($column)) {
- // TODO
+ // TODO - Akiban does not support comments on tables or columns in 1.4.0
}
}
@@ -360,23 +360,23 @@ public function getAlterTableSQL(TableDiff $diff)
$sql[] = "ALTER TABLE " . $diff->name . " " . $query;
}
if ($columnDiff->hasChanged('autoincrement')) {
- // TODO
+ // TODO - Akiban does not support modifying sequences created with SERIAL in 1.4.0
}
if ($columnDiff->hasChanged('comment') && $comment = $this->getColumnComment($column)) {
- // TODO
+ // TODO - Akiban does not support comments on tables or columns in 1.4.0
}
}
foreach ($diff->renamedColumns as $oldColumnName => $column) {
if ($this->onSchemaAlterTableRenameColumn($oldColumnName, $column, $diff, $columnSql)) {
continue;
}
- // TODO
+ // TODO - Akiban does not support renaming columns with ALTER in 1.4.0
}
$tableSql = array();
- if ( ! $this->onSchemaAlterTable($diff, $tableSql)) {
+ if (! $this->onSchemaAlterTable($diff, $tableSql)) {
if ($diff->newName !== false) {
// TODO
}

0 comments on commit ab0a456

Please sign in to comment.