fixes the db migration
This commit is contained in:
parent
13fde95882
commit
72e124d1a1
11 changed files with 100 additions and 71 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue