Commit 285ca48d authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix SQL Azure Platform

parent 493ced5c
...@@ -34,10 +34,10 @@ class SQLAzurePlatform extends SQLServer2008Platform ...@@ -34,10 +34,10 @@ class SQLAzurePlatform extends SQLServer2008Platform
{ {
$sql = parent::getCreateTableSQL($table, $createFlags); $sql = parent::getCreateTableSQL($table, $createFlags);
if ($table->hasOption('azure.federatedOnDistributionName')) { if ($table->hasOption('azure.federatedOnColumnName')) {
$distributionName = $table->getOption('azure.federatedOnDistributionName'); $distributionName = $table->getOption('azure.federatedOnDistributionName');
$columnName = $table->getOption('azure.federatedOnColumnName'); $columnName = $table->getOption('azure.federatedOnColumnName');
$stmt = ' FEDERATED ON (' . $distributionName . ' = ' . $columnName . ')'; $stmt = ' FEDERATED ON (' . $distributionName . ' = ' . $columnName . ')';
$sql[0] = $sql[0] . $stmt; $sql[0] = $sql[0] . $stmt;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment