fixes the db migration

This commit is contained in:
Paul Schneider 2018-08-05 06:04:10 +02:00
commit 72e124d1a1
11 changed files with 100 additions and 71 deletions

View file

@ -5,8 +5,11 @@ using Yavsc.Models;
namespace Yavsc.Server.Models.IT.SourceCode
{
public class GitRepositoryReference
{
[Key]
{
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Required]
public string Path { get; set; }
[StringLength(2048)]