Add initial hcs database schema creation
This commit is contained in:
12
Hcs.WebApp/Data/Hcs/HcsDbContext.cs
Normal file
12
Hcs.WebApp/Data/Hcs/HcsDbContext.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Hcs.WebApp.Data.Hcs
|
||||
{
|
||||
public class HcsDbContext(DbContextOptions<HcsDbContext> options) : DbContext(options)
|
||||
{
|
||||
public DbSet<Registry> Registries { get; set; }
|
||||
|
||||
public DbSet<RegistryElement> Elements { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user