diff --git a/.gitignore b/.gitignore
index 1b1e3d8201..4eabbccebd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -255,7 +255,6 @@ paket-files/
build/outputs
!framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/*
nupkg/push.ps1
-abp_io/src/Volo.AbpWebSite.Web/Logs/*.*
framework/src/AbpDesk/AbpDesk.Web.Mvc/Logs
framework/src/AbpDesk/Web_PlugIns/AbpDesk.MongoBlog.dll
framework/src/MicroserviceDemo/MicroserviceDemo.AuthServer/Logs/*.*
@@ -274,11 +273,8 @@ templates/mvc/src/MyCompanyName.MyProjectName.Web/Logs/*.*
# macOS
.DS_Store
-abp_io/src/Volo.AbpWebSite.Web/Logs/*
-abp_io/src/Volo.AbpWebSite.Web/wwwroot/files/*
templates/service/host/MyCompanyName.MyProjectName.Host/Logs/logs.txt
templates/service/host/IdentityServerHost/Logs/logs.txt
-abp_io/src/Volo.AbpWebSite.Web/TemplateFiles/*.zip
framework/test/Volo\.Abp\.AspNetCore\.Mvc\.UI\.Bootstrap\.Demo/package-lock\.json
modules/blogging/app/Volo\.BloggingTestApp/package-lock\.json
diff --git a/abp_io/README.md b/abp_io/README.md
deleted file mode 100644
index 813329cbea..0000000000
--- a/abp_io/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-## abp.io
-Source code of the official web site: https://abp.io
diff --git a/abp_io/Volo.AbpWebSite.sln b/abp_io/Volo.AbpWebSite.sln
deleted file mode 100644
index cc597fb6ae..0000000000
--- a/abp_io/Volo.AbpWebSite.sln
+++ /dev/null
@@ -1,49 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.27703.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.AbpWebSite.Web", "src\Volo.AbpWebSite.Web\Volo.AbpWebSite.Web.csproj", "{7B8B649E-1C25-43FD-87B1-E9FED3A57ED6}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.AbpWebSite.Domain", "src\Volo.AbpWebSite.Domain\Volo.AbpWebSite.Domain.csproj", "{9D3ED14A-FFC0-486A-B9B4-B249688AC6A6}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.AbpWebSite.Application", "src\Volo.AbpWebSite.Application\Volo.AbpWebSite.Application.csproj", "{DDE85F9B-15E6-4D1F-A27C-1B38569564F6}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.AbpWebSite.EntityFrameworkCore", "src\Volo.AbpWebSite.EntityFrameworkCore\Volo.AbpWebSite.EntityFrameworkCore.csproj", "{028C05DB-61BF-41EF-B9AD-614A43CD0A7F}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Utils.SolutionTemplating", "src\Volo.Utils.SolutionTemplating\Volo.Utils.SolutionTemplating.csproj", "{742FCDDD-537C-42CC-AF16-A92C094D4B1D}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {7B8B649E-1C25-43FD-87B1-E9FED3A57ED6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7B8B649E-1C25-43FD-87B1-E9FED3A57ED6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7B8B649E-1C25-43FD-87B1-E9FED3A57ED6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7B8B649E-1C25-43FD-87B1-E9FED3A57ED6}.Release|Any CPU.Build.0 = Release|Any CPU
- {9D3ED14A-FFC0-486A-B9B4-B249688AC6A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9D3ED14A-FFC0-486A-B9B4-B249688AC6A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9D3ED14A-FFC0-486A-B9B4-B249688AC6A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9D3ED14A-FFC0-486A-B9B4-B249688AC6A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {DDE85F9B-15E6-4D1F-A27C-1B38569564F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DDE85F9B-15E6-4D1F-A27C-1B38569564F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DDE85F9B-15E6-4D1F-A27C-1B38569564F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DDE85F9B-15E6-4D1F-A27C-1B38569564F6}.Release|Any CPU.Build.0 = Release|Any CPU
- {028C05DB-61BF-41EF-B9AD-614A43CD0A7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {028C05DB-61BF-41EF-B9AD-614A43CD0A7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {028C05DB-61BF-41EF-B9AD-614A43CD0A7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {028C05DB-61BF-41EF-B9AD-614A43CD0A7F}.Release|Any CPU.Build.0 = Release|Any CPU
- {742FCDDD-537C-42CC-AF16-A92C094D4B1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {742FCDDD-537C-42CC-AF16-A92C094D4B1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {742FCDDD-537C-42CC-AF16-A92C094D4B1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {742FCDDD-537C-42CC-AF16-A92C094D4B1D}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {F24AF782-5FD0-421E-A775-CA1C042D46BE}
- EndGlobalSection
-EndGlobal
diff --git a/abp_io/src/Volo.AbpWebSite.Application/Volo.AbpWebSite.Application.csproj b/abp_io/src/Volo.AbpWebSite.Application/Volo.AbpWebSite.Application.csproj
deleted file mode 100644
index 4a5c64eb64..0000000000
--- a/abp_io/src/Volo.AbpWebSite.Application/Volo.AbpWebSite.Application.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netcoreapp2.2
-
-
-
-
-
-
-
-
diff --git a/abp_io/src/Volo.AbpWebSite.Application/Volo/AbpWebSite/AbpWebSiteApplicationModule.cs b/abp_io/src/Volo.AbpWebSite.Application/Volo/AbpWebSite/AbpWebSiteApplicationModule.cs
deleted file mode 100644
index b7ec0f4c19..0000000000
--- a/abp_io/src/Volo.AbpWebSite.Application/Volo/AbpWebSite/AbpWebSiteApplicationModule.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Volo.Abp.Modularity;
-
-namespace Volo.AbpWebSite
-{
- [DependsOn(
- typeof(AbpWebSiteDomainModule))]
- public class AbpWebSiteApplicationModule : AbpModule
- {
-
- }
-}
\ No newline at end of file
diff --git a/abp_io/src/Volo.AbpWebSite.Domain/Volo.AbpWebSite.Domain.csproj b/abp_io/src/Volo.AbpWebSite.Domain/Volo.AbpWebSite.Domain.csproj
deleted file mode 100644
index 78d1a7ac96..0000000000
--- a/abp_io/src/Volo.AbpWebSite.Domain/Volo.AbpWebSite.Domain.csproj
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- netcoreapp2.2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/abp_io/src/Volo.AbpWebSite.Domain/Volo/AbpWebSite/AbpWebSiteDomainModule.cs b/abp_io/src/Volo.AbpWebSite.Domain/Volo/AbpWebSite/AbpWebSiteDomainModule.cs
deleted file mode 100644
index 3a85042fa0..0000000000
--- a/abp_io/src/Volo.AbpWebSite.Domain/Volo/AbpWebSite/AbpWebSiteDomainModule.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Volo.Abp.Modularity;
-using Volo.Utils.SolutionTemplating;
-
-namespace Volo.AbpWebSite
-{
- [DependsOn(
- typeof(SolutionTemplatingModule)
- )]
- public class AbpWebSiteDomainModule : AbpModule
- {
-
- }
-}
\ No newline at end of file
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.Designer.cs
deleted file mode 100644
index e3faa6128e..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.Designer.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180627081027_Initial")]
- partial class Initial
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.0-rtm-30799")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Docs.Projects.Project", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("DefaultDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("DocumentStoreType");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Format");
-
- b.Property("GoogleCustomSearchId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("NavigationDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ShortName")
- .IsRequired()
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("DocsProjects");
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.cs
deleted file mode 100644
index 6696232ff3..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180627081027_Initial.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- public partial class Initial : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "DocsProjects",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- Name = table.Column(maxLength: 128, nullable: false),
- ShortName = table.Column(maxLength: 32, nullable: false),
- Format = table.Column(nullable: true),
- DefaultDocumentName = table.Column(maxLength: 128, nullable: false),
- NavigationDocumentName = table.Column(maxLength: 128, nullable: false),
- DocumentStoreType = table.Column(nullable: true),
- GoogleCustomSearchId = table.Column(nullable: true),
- ExtraProperties = table.Column(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_DocsProjects", x => x.Id);
- });
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "DocsProjects");
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.Designer.cs
deleted file mode 100644
index 748a1b3264..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.Designer.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180628070043_Add_DownloadInfo")]
- partial class Add_DownloadInfo
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.0-rtm-30799")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.AbpWebSite.Downloads.DownloadInfo", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- b.Property("CreationTime");
-
- b.Property("CreatorId");
-
- b.Property("ProjectName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("Version")
- .HasMaxLength(20);
-
- b.HasKey("Id");
-
- b.ToTable("Downloads");
- });
-
- modelBuilder.Entity("Volo.Docs.Projects.Project", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("DefaultDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("DocumentStoreType");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Format");
-
- b.Property("GoogleCustomSearchId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("NavigationDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ShortName")
- .IsRequired()
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("DocsProjects");
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.cs
deleted file mode 100644
index 242edd7c88..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070043_Add_DownloadInfo.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- public partial class Add_DownloadInfo : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "Downloads",
- columns: table => new
- {
- Id = table.Column(nullable: false)
- .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
- CreationTime = table.Column(nullable: false),
- CreatorId = table.Column(nullable: true),
- ProjectName = table.Column(maxLength: 128, nullable: false),
- Version = table.Column(maxLength: 20, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_Downloads", x => x.Id);
- });
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "Downloads");
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.Designer.cs
deleted file mode 100644
index faa1abbdbc..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.Designer.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180628070356_Add_DownloadInfo_CreationDuration")]
- partial class Add_DownloadInfo_CreationDuration
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.0-rtm-30799")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.AbpWebSite.Downloads.DownloadInfo", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- b.Property("CreationDuration");
-
- b.Property("CreationTime");
-
- b.Property("CreatorId");
-
- b.Property("ProjectName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(20);
-
- b.HasKey("Id");
-
- b.ToTable("Downloads");
- });
-
- modelBuilder.Entity("Volo.Docs.Projects.Project", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("DefaultDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("DocumentStoreType");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Format");
-
- b.Property("GoogleCustomSearchId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("NavigationDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ShortName")
- .IsRequired()
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("DocsProjects");
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.cs
deleted file mode 100644
index 6a09b06fdb..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180628070356_Add_DownloadInfo_CreationDuration.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- public partial class Add_DownloadInfo_CreationDuration : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn(
- name: "Version",
- table: "Downloads",
- maxLength: 20,
- nullable: false,
- oldClrType: typeof(string),
- oldMaxLength: 20,
- oldNullable: true);
-
- migrationBuilder.AddColumn(
- name: "CreationDuration",
- table: "Downloads",
- nullable: false,
- defaultValue: 0);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "CreationDuration",
- table: "Downloads");
-
- migrationBuilder.AlterColumn(
- name: "Version",
- table: "Downloads",
- maxLength: 20,
- nullable: true,
- oldClrType: typeof(string),
- oldMaxLength: 20);
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.Designer.cs
deleted file mode 100644
index ea72102bb1..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.Designer.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider")]
- partial class DownloadInfo_TemplateName_And_DatabaseProvider
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.1-rtm-30846")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Docs.Projects.Project", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("DefaultDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("DocumentStoreType");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Format");
-
- b.Property("GoogleCustomSearchId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("NavigationDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ShortName")
- .IsRequired()
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("DocsProjects");
- });
-
- modelBuilder.Entity("Volo.Utils.SolutionTemplating.DownloadInfo", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- b.Property("CreationDuration");
-
- b.Property("CreationTime");
-
- b.Property("CreatorId");
-
- b.Property("DatabaseProvider");
-
- b.Property("ProjectName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("TemplateName")
- .IsRequired()
- .HasMaxLength(42);
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(20);
-
- b.HasKey("Id");
-
- b.ToTable("Downloads");
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.cs
deleted file mode 100644
index 8353bfb2d0..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180715113144_DownloadInfo_TemplateName_And_DatabaseProvider.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- public partial class DownloadInfo_TemplateName_And_DatabaseProvider : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn(
- name: "DatabaseProvider",
- table: "Downloads",
- nullable: false,
- defaultValue: (byte)0);
-
- migrationBuilder.AddColumn(
- name: "TemplateName",
- table: "Downloads",
- maxLength: 42,
- nullable: false,
- defaultValue: "");
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "DatabaseProvider",
- table: "Downloads");
-
- migrationBuilder.DropColumn(
- name: "TemplateName",
- table: "Downloads");
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.Designer.cs
deleted file mode 100644
index 57475ec752..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.Designer.cs
+++ /dev/null
@@ -1,509 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180803070224_Added_Identity_And_Blogging_Modules")]
- partial class Added_Identity_And_Blogging_Modules
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.1-rtm-30846")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("NormalizedName")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("RoleId");
-
- b.ToTable("AbpRoleClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AccessFailedCount")
- .ValueGeneratedOnAdd()
- .HasColumnName("AccessFailedCount")
- .HasDefaultValue(0);
-
- b.Property("ConcurrencyStamp")
- .IsRequired()
- .HasColumnName("ConcurrencyStamp")
- .HasMaxLength(256);
-
- b.Property("Email")
- .HasColumnName("Email")
- .HasMaxLength(256);
-
- b.Property("EmailConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("EmailConfirmed")
- .HasDefaultValue(false);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("LockoutEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("LockoutEnabled")
- .HasDefaultValue(false);
-
- b.Property("LockoutEnd");
-
- b.Property("NormalizedEmail")
- .HasColumnName("NormalizedEmail")
- .HasMaxLength(256);
-
- b.Property("NormalizedUserName")
- .IsRequired()
- .HasColumnName("NormalizedUserName")
- .HasMaxLength(256);
-
- b.Property("PasswordHash")
- .HasColumnName("PasswordHash")
- .HasMaxLength(256);
-
- b.Property("PhoneNumber")
- .HasColumnName("PhoneNumber")
- .HasMaxLength(16);
-
- b.Property("PhoneNumberConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("PhoneNumberConfirmed")
- .HasDefaultValue(false);
-
- b.Property("SecurityStamp")
- .IsRequired()
- .HasColumnName("SecurityStamp")
- .HasMaxLength(256);
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.Property("TwoFactorEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("TwoFactorEnabled")
- .HasDefaultValue(false);
-
- b.Property("UserName")
- .IsRequired()
- .HasColumnName("UserName")
- .HasMaxLength(256);
-
- b.HasKey("Id");
-
- b.HasIndex("Email");
-
- b.HasIndex("NormalizedEmail");
-
- b.HasIndex("NormalizedUserName");
-
- b.HasIndex("UserName");
-
- b.ToTable("AbpUsers");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("TenantId");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("AbpUserClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(64);
-
- b.Property("ProviderDisplayName")
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(196);
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "LoginProvider");
-
- b.HasIndex("LoginProvider", "ProviderKey");
-
- b.ToTable("AbpUserLogins");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.Property("UserId");
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "RoleId");
-
- b.HasIndex("RoleId", "UserId");
-
- b.ToTable("AbpUserRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(128);
-
- b.Property("Name");
-
- b.Property("TenantId");
-
- b.Property("Value");
-
- b.HasKey("UserId", "LoginProvider", "Name");
-
- b.ToTable("AbpUserTokens");
- });
-
- modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(64);
-
- b.Property("ProviderName")
- .IsRequired()
- .HasMaxLength(64);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpPermissionGrants");
- });
-
- modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .HasMaxLength(64);
-
- b.Property("ProviderName")
- .HasMaxLength(64);
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(2048);
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpSettings");
- });
-
- modelBuilder.Entity("Volo.Blogging.Blogs.Blog", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Description")
- .HasColumnName("Description")
- .HasMaxLength(1024);
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasColumnName("Name")
- .HasMaxLength(256);
-
- b.Property("ShortName")
- .IsRequired()
- .HasColumnName("ShortName")
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("BlgBlogs");
- });
-
- modelBuilder.Entity("Volo.Blogging.Posts.Post", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("BlogId")
- .HasColumnName("BlogId");
-
- b.Property("Content")
- .HasColumnName("Content")
- .HasMaxLength(1048576);
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("Title")
- .IsRequired()
- .HasColumnName("Title")
- .HasMaxLength(512);
-
- b.Property("Url")
- .IsRequired()
- .HasColumnName("Url")
- .HasMaxLength(64);
-
- b.HasKey("Id");
-
- b.HasIndex("BlogId");
-
- b.ToTable("BlgPosts");
- });
-
- modelBuilder.Entity("Volo.Docs.Projects.Project", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("DefaultDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("DocumentStoreType");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("Format");
-
- b.Property("GoogleCustomSearchId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("NavigationDocumentName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ShortName")
- .IsRequired()
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.ToTable("DocsProjects");
- });
-
- modelBuilder.Entity("Volo.Utils.SolutionTemplating.DownloadInfo", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd()
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- b.Property("CreationDuration");
-
- b.Property("CreationTime");
-
- b.Property("CreatorId");
-
- b.Property("DatabaseProvider");
-
- b.Property("ProjectName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("TemplateName")
- .IsRequired()
- .HasMaxLength(42);
-
- b.Property("Version")
- .IsRequired()
- .HasMaxLength(20);
-
- b.HasKey("Id");
-
- b.ToTable("Downloads");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityRole")
- .WithMany("Claims")
- .HasForeignKey("RoleId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Claims")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Logins")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityRole")
- .WithMany()
- .HasForeignKey("RoleId")
- .OnDelete(DeleteBehavior.Cascade);
-
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Roles")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Tokens")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Blogging.Posts.Post", b =>
- {
- b.HasOne("Volo.Blogging.Blogs.Blog")
- .WithMany()
- .HasForeignKey("BlogId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.cs
deleted file mode 100644
index 9b02f2234f..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180803070224_Added_Identity_And_Blogging_Modules.cs
+++ /dev/null
@@ -1,337 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- public partial class Added_Identity_And_Blogging_Modules : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "AbpPermissionGrants",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- Name = table.Column(maxLength: 128, nullable: false),
- ProviderName = table.Column(maxLength: 64, nullable: false),
- ProviderKey = table.Column(maxLength: 64, nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpPermissionGrants", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpRoles",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- Name = table.Column(maxLength: 256, nullable: false),
- NormalizedName = table.Column(maxLength: 256, nullable: false),
- ConcurrencyStamp = table.Column(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpRoles", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpSettings",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- Name = table.Column(maxLength: 128, nullable: false),
- Value = table.Column(maxLength: 2048, nullable: false),
- ProviderName = table.Column(maxLength: 64, nullable: true),
- ProviderKey = table.Column(maxLength: 64, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpSettings", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUsers",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- UserName = table.Column(maxLength: 256, nullable: false),
- NormalizedUserName = table.Column(maxLength: 256, nullable: false),
- Email = table.Column(maxLength: 256, nullable: true),
- NormalizedEmail = table.Column(maxLength: 256, nullable: true),
- EmailConfirmed = table.Column(nullable: false, defaultValue: false),
- PasswordHash = table.Column(maxLength: 256, nullable: true),
- SecurityStamp = table.Column(maxLength: 256, nullable: false),
- ConcurrencyStamp = table.Column(maxLength: 256, nullable: false),
- PhoneNumber = table.Column(maxLength: 16, nullable: true),
- PhoneNumberConfirmed = table.Column(nullable: false, defaultValue: false),
- TwoFactorEnabled = table.Column(nullable: false, defaultValue: false),
- LockoutEnd = table.Column(nullable: true),
- LockoutEnabled = table.Column(nullable: false, defaultValue: false),
- AccessFailedCount = table.Column(nullable: false, defaultValue: 0),
- ExtraProperties = table.Column(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpUsers", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "BlgBlogs",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- CreationTime = table.Column(nullable: false),
- CreatorId = table.Column(nullable: true),
- LastModificationTime = table.Column(nullable: true),
- LastModifierId = table.Column(nullable: true),
- IsDeleted = table.Column(nullable: false, defaultValue: false),
- DeleterId = table.Column(nullable: true),
- DeletionTime = table.Column(nullable: true),
- Name = table.Column(maxLength: 256, nullable: false),
- ShortName = table.Column(maxLength: 32, nullable: false),
- Description = table.Column(maxLength: 1024, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_BlgBlogs", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpRoleClaims",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- ClaimType = table.Column(maxLength: 256, nullable: false),
- ClaimValue = table.Column(maxLength: 1024, nullable: true),
- RoleId = table.Column(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpRoleClaims", x => x.Id);
- table.ForeignKey(
- name: "FK_AbpRoleClaims_AbpRoles_RoleId",
- column: x => x.RoleId,
- principalTable: "AbpRoles",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUserClaims",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- ClaimType = table.Column(maxLength: 256, nullable: false),
- ClaimValue = table.Column(maxLength: 1024, nullable: true),
- UserId = table.Column(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpUserClaims", x => x.Id);
- table.ForeignKey(
- name: "FK_AbpUserClaims_AbpUsers_UserId",
- column: x => x.UserId,
- principalTable: "AbpUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUserLogins",
- columns: table => new
- {
- TenantId = table.Column(nullable: true),
- UserId = table.Column(nullable: false),
- LoginProvider = table.Column(maxLength: 64, nullable: false),
- ProviderKey = table.Column(maxLength: 196, nullable: false),
- ProviderDisplayName = table.Column(maxLength: 128, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpUserLogins", x => new { x.UserId, x.LoginProvider });
- table.ForeignKey(
- name: "FK_AbpUserLogins_AbpUsers_UserId",
- column: x => x.UserId,
- principalTable: "AbpUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUserRoles",
- columns: table => new
- {
- TenantId = table.Column(nullable: true),
- UserId = table.Column(nullable: false),
- RoleId = table.Column(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpUserRoles", x => new { x.UserId, x.RoleId });
- table.ForeignKey(
- name: "FK_AbpUserRoles_AbpRoles_RoleId",
- column: x => x.RoleId,
- principalTable: "AbpRoles",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- table.ForeignKey(
- name: "FK_AbpUserRoles_AbpUsers_UserId",
- column: x => x.UserId,
- principalTable: "AbpUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUserTokens",
- columns: table => new
- {
- TenantId = table.Column(nullable: true),
- UserId = table.Column(nullable: false),
- LoginProvider = table.Column(maxLength: 128, nullable: false),
- Name = table.Column(nullable: false),
- Value = table.Column(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpUserTokens", x => new { x.UserId, x.LoginProvider, x.Name });
- table.ForeignKey(
- name: "FK_AbpUserTokens_AbpUsers_UserId",
- column: x => x.UserId,
- principalTable: "AbpUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateTable(
- name: "BlgPosts",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- CreationTime = table.Column(nullable: false),
- CreatorId = table.Column(nullable: true),
- LastModificationTime = table.Column(nullable: true),
- LastModifierId = table.Column(nullable: true),
- IsDeleted = table.Column(nullable: false, defaultValue: false),
- DeleterId = table.Column(nullable: true),
- DeletionTime = table.Column(nullable: true),
- BlogId = table.Column(nullable: false),
- Url = table.Column(maxLength: 64, nullable: false),
- Title = table.Column(maxLength: 512, nullable: false),
- Content = table.Column(maxLength: 1048576, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_BlgPosts", x => x.Id);
- table.ForeignKey(
- name: "FK_BlgPosts_BlgBlogs_BlogId",
- column: x => x.BlogId,
- principalTable: "BlgBlogs",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpPermissionGrants_Name_ProviderName_ProviderKey",
- table: "AbpPermissionGrants",
- columns: new[] { "Name", "ProviderName", "ProviderKey" });
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpRoleClaims_RoleId",
- table: "AbpRoleClaims",
- column: "RoleId");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpRoles_NormalizedName",
- table: "AbpRoles",
- column: "NormalizedName");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpSettings_Name_ProviderName_ProviderKey",
- table: "AbpSettings",
- columns: new[] { "Name", "ProviderName", "ProviderKey" });
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUserClaims_UserId",
- table: "AbpUserClaims",
- column: "UserId");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUserLogins_LoginProvider_ProviderKey",
- table: "AbpUserLogins",
- columns: new[] { "LoginProvider", "ProviderKey" });
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUserRoles_RoleId_UserId",
- table: "AbpUserRoles",
- columns: new[] { "RoleId", "UserId" });
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUsers_Email",
- table: "AbpUsers",
- column: "Email");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUsers_NormalizedEmail",
- table: "AbpUsers",
- column: "NormalizedEmail");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUsers_NormalizedUserName",
- table: "AbpUsers",
- column: "NormalizedUserName");
-
- migrationBuilder.CreateIndex(
- name: "IX_AbpUsers_UserName",
- table: "AbpUsers",
- column: "UserName");
-
- migrationBuilder.CreateIndex(
- name: "IX_BlgPosts_BlogId",
- table: "BlgPosts",
- column: "BlogId");
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "AbpPermissionGrants");
-
- migrationBuilder.DropTable(
- name: "AbpRoleClaims");
-
- migrationBuilder.DropTable(
- name: "AbpSettings");
-
- migrationBuilder.DropTable(
- name: "AbpUserClaims");
-
- migrationBuilder.DropTable(
- name: "AbpUserLogins");
-
- migrationBuilder.DropTable(
- name: "AbpUserRoles");
-
- migrationBuilder.DropTable(
- name: "AbpUserTokens");
-
- migrationBuilder.DropTable(
- name: "BlgPosts");
-
- migrationBuilder.DropTable(
- name: "AbpRoles");
-
- migrationBuilder.DropTable(
- name: "AbpUsers");
-
- migrationBuilder.DropTable(
- name: "BlgBlogs");
- }
- }
-}
diff --git a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180906122509_Updates_20180906.Designer.cs b/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180906122509_Updates_20180906.Designer.cs
deleted file mode 100644
index 13ce2a1c83..0000000000
--- a/abp_io/src/Volo.AbpWebSite.EntityFrameworkCore/Migrations/20180906122509_Updates_20180906.Designer.cs
+++ /dev/null
@@ -1,648 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.AbpWebSite.EntityFrameworkCore;
-
-namespace Volo.AbpWebSite.EntityFrameworkCore.Migrations
-{
- [DbContext(typeof(AbpWebSiteDbContext))]
- [Migration("20180906122509_Updates_20180906")]
- partial class Updates_20180906
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.1.1-rtm-30846")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("NormalizedName")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property