Replaced postgres with memory store, updated deps
This commit is contained in:
@ -20,7 +20,7 @@ namespace YTManager.Tasks
|
||||
|
||||
// Get all the channels to update.
|
||||
var ops = new DbContextOptionsBuilder<MediaDB>();
|
||||
ops.UseNpgsql(YTManager.Startup.dbstr);
|
||||
ops.UseInMemoryDatabase(databaseName: "testdb");
|
||||
using (var dbcontext = new MediaDB(ops.Options)) {
|
||||
// Get all the potential relevant channels.
|
||||
List<Models.Channel> channels;
|
||||
|
Reference in New Issue
Block a user