This commit is contained in:
Paul Schneider 2021-05-16 14:07:14 +01:00
commit e4511a8aaa
38 changed files with 615 additions and 68 deletions

View file

@ -3,8 +3,8 @@ using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using nuget_host.Models;
using nuget_host.Models.ApiKeys;
using nuget_host.Data;
using nuget_host.Data.ApiKeys;
namespace nuget_host.Data
{
@ -14,7 +14,9 @@ namespace nuget_host.Data
: base(options)
{
}
public DbSet<ApiKey> ApiKeys { get; set; }
public DbSet<Package> Packages { get; set; }
public DbSet<PackageVersion> PackageVersions { get; set; }
}
}