Fix cmsContentNu table creation during install

This commit is contained in:
Stephan
2016-11-29 11:34:48 +01:00
parent 581f3d791f
commit 80503c92ce
5 changed files with 5 additions and 4 deletions

View File

@@ -1,27 +0,0 @@
using NPoco;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
{
[TableName("cmsContentNu")]
[PrimaryKey("nodeId", AutoIncrement = false)]
[ExplicitColumns]
internal class ContentNuDto
{
[Column("nodeId")]
[PrimaryKeyColumn(AutoIncrement = false, Name = "PK_cmsContentNu", OnColumns = "nodeId, published")]
[ForeignKey(typeof(ContentDto), Column = "nodeId")]
public int NodeId { get; set; }
[Column("published")]
public bool Published { get; set; }
[Column("data")]
[SpecialDbType(SpecialDbTypes.NTEXT)]
public string Data { get; set; }
[Column("rv")]
public long Rv { get; set; }
}
}