mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18895: Fixing DROP INDEX on SQL 2012
Work Item: 18895 --HG-- branch : 1.x
This commit is contained in:
@@ -225,9 +225,9 @@ namespace Orchard.Data.Migration.Interpreters {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.AppendFormat("drop index {0}.{1}",
|
builder.AppendFormat("drop index {0} ON {1}",
|
||||||
_dialect.QuoteForTableName(PrefixTableName(command.TableName)),
|
_dialect.QuoteForColumnName(PrefixTableName(command.IndexName)),
|
||||||
_dialect.QuoteForColumnName(PrefixTableName(command.IndexName)));
|
_dialect.QuoteForTableName(PrefixTableName(command.TableName)));
|
||||||
_sqlStatements.Add(builder.ToString());
|
_sqlStatements.Add(builder.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user