Remove incorrect use of migrations

This commit is contained in:
Noi 2022-03-19 18:07:30 -07:00
parent b9abaa2055
commit f52d8c81c8

View file

@ -1,5 +1,4 @@
using BirthdayBot.Data;
using Microsoft.EntityFrameworkCore;
namespace BirthdayBot;
@ -22,9 +21,6 @@ class Program {
}
BotDatabaseContext.NpgsqlConnectionString = cfg.DatabaseConnectionString;
using (var db = new BotDatabaseContext()) {
db.Database.Migrate();
}
Database.DBConnectionString = cfg.DatabaseConnectionString;
try {