4cd57f4a90
Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs. Abstracts ScheduledTaskStatus with core interface and adds a Mock for optional status reporting. Noticeboards rewritten (with new theme) to be more resilient and accurate.
21 lines
496 B
C#
21 lines
496 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data.Entity;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Disco.Services.Logging.Persistance
|
|
{
|
|
public class LogPersistContextInitializer : IDatabaseInitializer<LogPersistContext>
|
|
{
|
|
public void InitializeDatabase(LogPersistContext context)
|
|
{
|
|
if (!context.Database.Exists())
|
|
{
|
|
context.Database.Create();
|
|
}
|
|
}
|
|
}
|
|
}
|