forked from adam/discord-bot-shtik
This commit is contained in:
parent
c1e32ef39a
commit
ba2254858f
@ -1,5 +1,6 @@
|
|||||||
namespace vassago
|
namespace vassago
|
||||||
{
|
{
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using vassago;
|
using vassago;
|
||||||
using vassago.Models;
|
using vassago.Models;
|
||||||
using vassago.TwitchInterface;
|
using vassago.TwitchInterface;
|
||||||
@ -22,6 +23,7 @@ namespace vassago
|
|||||||
{
|
{
|
||||||
var dbc = new ChattingContext();
|
var dbc = new ChattingContext();
|
||||||
dbc.Database.EnsureCreated();
|
dbc.Database.EnsureCreated();
|
||||||
|
dbc.Database.Migrate();
|
||||||
|
|
||||||
if (DiscordTokens?.Any() ?? false)
|
if (DiscordTokens?.Any() ?? false)
|
||||||
foreach (var dt in DiscordTokens)
|
foreach (var dt in DiscordTokens)
|
||||||
|
Loading…
Reference in New Issue
Block a user