From 1712fb2f40c2ed12cea3041d19862aa70f351035 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 4 Feb 2019 12:01:41 +0000 Subject: Need to find a way to handle database configuration without exposing it --- Database/Database.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Database') diff --git a/Database/Database.cs b/Database/Database.cs index 414162f..f687efd 100644 --- a/Database/Database.cs +++ b/Database/Database.cs @@ -7,5 +7,9 @@ namespace Database { public class Database: DbContext { public DbSet
Articles; public DbSet Configs; + + protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { + // optionsBuilder.UseMySQL("server=localhost;uid") + } } } -- cgit v1.2.3-13-gbd6f