Re-create migrations for the module template

pull/997/head
Halil ibrahim Kalkan 7 years ago
parent 32c1605471
commit b86b858761

@ -115,7 +115,6 @@ namespace MyCompanyName.MyProjectName.DemoApp
app.UseAbpRequestLocalization(); app.UseAbpRequestLocalization();
app.UseAuditing(); app.UseAuditing();
app.UseMvcWithDefaultRouteAndArea(); app.UseMvcWithDefaultRouteAndArea();
using (var scope = context.ServiceProvider.CreateScope()) using (var scope = context.ServiceProvider.CreateScope())

@ -10,7 +10,7 @@ using MyCompanyName.MyProjectName.DemoApp;
namespace MyCompanyName.MyProjectName.DemoApp.Migrations namespace MyCompanyName.MyProjectName.DemoApp.Migrations
{ {
[DbContext(typeof(DemoAppDbContext))] [DbContext(typeof(DemoAppDbContext))]
[Migration("20190320125012_Initial")] [Migration("20190410095748_Initial")]
partial class Initial partial class Initial
{ {
protected override void BuildTargetModel(ModelBuilder modelBuilder) protected override void BuildTargetModel(ModelBuilder modelBuilder)

@ -35,8 +35,4 @@
<None Remove="Logs\**" /> <None Remove="Logs\**" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Remove="Migrations\20190107113413_Initial.cs" />
</ItemGroup>
</Project> </Project>

Loading…
Cancel
Save