Removed the setup code out of the startup, since we attemtp to connect to the DB before that.

This commit is contained in:
Jamie Rees 2016-02-26 18:54:39 +00:00
parent e0347d6bbc
commit 81c492aa14
3 changed files with 5 additions and 7 deletions

View file

@ -1,7 +1,5 @@
using Owin;
using RequestPlex.Core;
namespace RequestPlex.UI
{
public class Startup
@ -9,9 +7,6 @@ namespace RequestPlex.UI
public void Configuration(IAppBuilder app)
{
app.UseNancy();
var s = new Setup();
s.SetupDb();
}
}
}