Corrected ALTER TABLE statement for SQL Server in data migration

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-08-30 14:33:52 -07:00
parent f3f04d6ea0
commit 2095121a4d

View File

@@ -162,7 +162,7 @@ namespace Orchard.Data.Migration.Interpreters {
return;
}
builder.AppendFormat("alter table {0} add column ", _dialect.QuoteForTableName(PrefixTableName(command.TableName)));
builder.AppendFormat("alter table {0} add ", _dialect.QuoteForTableName(PrefixTableName(command.TableName)));
Visit(builder, (CreateColumnCommand)command);
_sqlStatements.Add(builder.ToString());