Merge pull request #2117 from umbraco/temp-U4-10201

U4-10201 Exception when deleting a user's start node - adds FKs, fixe…
This commit is contained in:
Sebastiaan Janssen
2017-08-24 20:04:44 +02:00
committed by GitHub
6 changed files with 74 additions and 2 deletions

View File

@@ -51,10 +51,12 @@ namespace Umbraco.Core.Models.Rdbms
[Column("startContentId")]
[NullSetting(NullSetting = NullSettings.Null)]
[ForeignKey(typeof(NodeDto), Name = "FK_startContentId_umbracoNode_id")]
public int? StartContentId { get; set; }
[Column("startMediaId")]
[NullSetting(NullSetting = NullSettings.Null)]
[ForeignKey(typeof(NodeDto), Name = "FK_startMediaId_umbracoNode_id")]
public int? StartMediaId { get; set; }
[ResultColumn]