24 lines
743 B
C#
24 lines
743 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using isnd.Data;
|
|
using isnd.Data.ApiKeys;
|
|
using isnd.Data.Packages;
|
|
|
|
namespace isnd.Data
|
|
{
|
|
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
|
{
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
|
: base(options) { }
|
|
|
|
public DbSet<ApiKey> ApiKeys { get; set; }
|
|
public DbSet<Package> Packages { get; set; }
|
|
public DbSet<PackageVersion> PackageVersions { get; set; }
|
|
public DbSet<Commit> Commits { get; set; }
|
|
}
|
|
}
|