+
Skip to content

Update mix.heart 1.0.35 #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Mix.Cms.Api/Controllers/v1/ApiInitCmsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ private async Task<RepositoryResponse<bool>> InitStep1Async(InitCmsViewModel mod
MixService.SetMixConfig<string>(WebConfiguration.MixCacheConnectionString, model.ConnectionString);
MixService.SetMixConfig<string>(WebConfiguration.MixCacheDbProvider, model.DatabaseProvider.ToString());
MixService.SaveSettings();
MixService.Reload();
var result = await InitCmsService.InitCms(model.SiteName, model.Culture);

if (result.IsSucceed)
Expand Down
4 changes: 4 additions & 0 deletions src/Mix.Cms.Web/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ private void VerifyInitData(IServiceCollection services)
transaction.Commit();
transaction.Dispose();
}
using (var cacheCtx = MixCacheService.GetCacheDbContext())
{
cacheCtx.Database.Migrate();
}
}

// Mix: Check if require ssl
Expand Down
2 changes: 1 addition & 1 deletion src/Mix.Heart.NetCore/Mix.Heart.NetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.1" />
<PackageReference Include="Mix.Heart" Version="1.0.3.4" />
<PackageReference Include="Mix.Heart" Version="1.0.3.5" />
<!--<ProjectReference Include="..\..\..\mix.heart\src\Mix.Heart\Mix.Heart.csproj" />-->
</ItemGroup>
</Project>
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载