gestion des versions :

* dossier des versions = FullString
* Suppressioni de versions
This commit is contained in:
Paul Schneider 2021-05-22 22:49:57 +01:00
commit be30ef3c25
14 changed files with 659 additions and 13 deletions

View file

@ -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");
});