Add missing FROM clause

This commit is contained in:
Benjamin Carleski
2019-09-18 11:17:47 -07:00
committed by Sebastiaan Janssen
parent 6a143796c3
commit f4e61ddf23

View File

@@ -72,6 +72,7 @@ namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0
{
var sqlNodeData = Sql()
.Select<NodeDto>()
.From<NodeDto>()
.Where<NodeDto>(x => x.NodeId == intId);
var node = Database.Fetch<NodeDto>(sqlNodeData).FirstOrDefault();