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

@ -9,7 +9,7 @@ namespace Yavsc.Server.Models.IT
/// A Numerical Id
/// </summary>
/// <value></value>
[Key]
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Required]