Refactored to use postgres for production and sqlite for development
This commit is contained in:
committed by
Chris
parent
b837e1aad2
commit
416d668294
11
Data/SqliteApplicationDbContext.cs
Normal file
11
Data/SqliteApplicationDbContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Example.Data;
|
||||
|
||||
public sealed class SqliteApplicationDbContext : ApplicationDbContext
|
||||
{
|
||||
public SqliteApplicationDbContext(DbContextOptions<SqliteApplicationDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user