|
|
|
@ -5,19 +5,21 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Metadata; |
|
|
|
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using VoloDocs.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace VoloDocs.EntityFrameworkCore.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(VoloDocsDbContext))] |
|
|
|
[Migration("20200525053411_init")] |
|
|
|
partial class init |
|
|
|
[Migration("20200617102723_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
|
|
|
{ |
|
|
|
#pragma warning disable 612, 618
|
|
|
|
modelBuilder |
|
|
|
.HasAnnotation("ProductVersion", "3.1.2") |
|
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) |
|
|
|
.HasAnnotation("ProductVersion", "3.1.5") |
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128) |
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); |
|
|
|
|