mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed build
--HG-- branch : dev
This commit is contained in:
@@ -200,7 +200,7 @@ namespace Orchard.Data.Migration.Interpreters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// [default value]
|
// [default value]
|
||||||
if (!string.IsNullOrEmpty(command.Default)) {
|
if (command.Default != null) {
|
||||||
builder.Append(" set default ").Append(ConvertToSqlValue(command.Default)).Append(Space);
|
builder.Append(" set default ").Append(ConvertToSqlValue(command.Default)).Append(Space);
|
||||||
}
|
}
|
||||||
_sqlStatements.Add(builder.ToString());
|
_sqlStatements.Add(builder.ToString());
|
||||||
@@ -304,7 +304,7 @@ namespace Orchard.Data.Migration.Interpreters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// [default value]
|
// [default value]
|
||||||
if (!string.IsNullOrEmpty(command.Default)) {
|
if (command.Default != null) {
|
||||||
builder.Append(" default ").Append(ConvertToSqlValue(command.Default)).Append(Space);
|
builder.Append(" default ").Append(ConvertToSqlValue(command.Default)).Append(Space);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user