|
|
@@ -10,14 +10,14 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
namespace Masuit.MyBlogs.Core.Migrations
|
|
|
{
|
|
|
[DbContext(typeof(DataContext))]
|
|
|
- [Migration("20190201132829_Init")]
|
|
|
+ [Migration("20190224061047_Init")]
|
|
|
partial class Init
|
|
|
{
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
{
|
|
|
#pragma warning disable 612, 618
|
|
|
modelBuilder
|
|
|
- .HasAnnotation("ProductVersion", "2.2.1-servicing-10028")
|
|
|
+ .HasAnnotation("ProductVersion", "2.2.2-servicing-10034")
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
@@ -107,27 +107,6 @@ namespace Masuit.MyBlogs.Core.Migrations
|
|
|
b.ToTable("Comment");
|
|
|
});
|
|
|
|
|
|
- modelBuilder.Entity("Masuit.MyBlogs.Core.Models.Entity.Contacts", b =>
|
|
|
- {
|
|
|
- b.Property<int>("Id")
|
|
|
- .ValueGeneratedOnAdd()
|
|
|
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
-
|
|
|
- b.Property<int>("Status");
|
|
|
-
|
|
|
- b.Property<string>("Title")
|
|
|
- .IsRequired()
|
|
|
- .IsUnicode(true);
|
|
|
-
|
|
|
- b.Property<string>("Url")
|
|
|
- .IsRequired()
|
|
|
- .IsUnicode(true);
|
|
|
-
|
|
|
- b.HasKey("Id");
|
|
|
-
|
|
|
- b.ToTable("Contacts");
|
|
|
- });
|
|
|
-
|
|
|
modelBuilder.Entity("Masuit.MyBlogs.Core.Models.Entity.Donate", b =>
|
|
|
{
|
|
|
b.Property<int>("Id")
|