v 1.0.5-rc20-alpha5
in order to build 1.0.5-rc20-alpha5, an alpha6 * moves again the db context from server lib to main assembly, since migrations are not written correctly in these conditions. * fixing dep graph, while moving as must as possible code from Yavsc to Yavsc.Server * impoved topmost Makefile * cleaned the badly desined, ans system redondant "Action" definiton * reoganized some source code file locations
This commit is contained in:
@ -77,9 +77,9 @@ namespace Yavsc
|
||||
|
||||
var auth = Configuration["Site:Authority"];
|
||||
var cxstr = Configuration["Data:DefaultConnection:ConnectionString"];
|
||||
DbHelpers.ConnectionString = cxstr;
|
||||
|
||||
ConnectionString = cxstr;
|
||||
}
|
||||
public static string ConnectionString { get; set; }
|
||||
public static GoogleAuthSettings GoogleSettings { get; set; }
|
||||
public IConfigurationRoot Configuration { get; set; }
|
||||
|
||||
@ -158,7 +158,7 @@ namespace Yavsc
|
||||
services.AddEntityFramework()
|
||||
.AddNpgsql()
|
||||
.AddDbContext<ApplicationDbContext>(
|
||||
db => db.UseNpgsql(DbHelpers.ConnectionString)
|
||||
db => db.UseNpgsql(ConnectionString)
|
||||
);
|
||||
|
||||
ConfigureOAuthServices(services);
|
||||
|
Reference in New Issue
Block a user