mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-22 05:54:36 +00:00
Remove incorrect use of migrations
This commit is contained in:
parent
b9abaa2055
commit
f52d8c81c8
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue