From 12fef7cbaf2073f9cc349ed765ea140be0259d8e Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Sat, 21 Oct 2023 11:55:33 +0200 Subject: Basic API auth and Google login --- backend/Elements.Data/ApplicationDbContext.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'backend/Elements.Data/ApplicationDbContext.cs') diff --git a/backend/Elements.Data/ApplicationDbContext.cs b/backend/Elements.Data/ApplicationDbContext.cs index 619719a..a912cc4 100644 --- a/backend/Elements.Data/ApplicationDbContext.cs +++ b/backend/Elements.Data/ApplicationDbContext.cs @@ -1,7 +1,14 @@ -using Microsoft.EntityFrameworkCore; +using Elements.Data.Models; +using Microsoft.EntityFrameworkCore; namespace Elements.Data; public class ApplicationDbContext : DbContext { + public DbSet Elements { get; set; } + public DbSet Users { get; set; } + public ApplicationDbContext(DbContextOptions options) : base(options) + { + + } } -- cgit v1.2.3