gestion des versions :
* dossier des versions = FullString * Suppressioni de versions
This commit is contained in:
parent
41fbe54638
commit
be30ef3c25
14 changed files with 659 additions and 13 deletions
|
|
@ -218,9 +218,10 @@ namespace nugethost.Migrations
|
|||
|
||||
modelBuilder.Entity("nuget_host.Data.PackageVersion", b =>
|
||||
{
|
||||
b.Property<string>("PackageId");
|
||||
|
||||
b.Property<string>("FullString")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasMaxLength(32);
|
||||
.HasMaxLength(256);
|
||||
|
||||
b.Property<bool>("IsPrerelease");
|
||||
|
||||
|
|
@ -228,14 +229,9 @@ namespace nugethost.Migrations
|
|||
|
||||
b.Property<int>("Minor");
|
||||
|
||||
b.Property<string>("PackageId")
|
||||
.IsRequired();
|
||||
|
||||
b.Property<int>("Patch");
|
||||
|
||||
b.HasKey("FullString");
|
||||
|
||||
b.HasIndex("PackageId");
|
||||
b.HasKey("PackageId", "FullString");
|
||||
|
||||
b.ToTable("PackageVersions");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue