mirror of https://github.com/abpframework/abp.git
12 changed files with 177 additions and 23 deletions
@ -0,0 +1,68 @@ |
|||||
|
// <auto-generated />
|
||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore; |
||||
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
||||
|
using Microsoft.EntityFrameworkCore.Metadata; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
||||
|
using Volo.DocsTestApp.EntityFrameworkCore; |
||||
|
|
||||
|
namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations |
||||
|
{ |
||||
|
[DbContext(typeof(DocsTestAppDbContext))] |
||||
|
[Migration("20181030125213_Added_Project_MinimumVersion")] |
||||
|
partial class Added_Project_MinimumVersion |
||||
|
{ |
||||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
||||
|
{ |
||||
|
#pragma warning disable 612, 618
|
||||
|
modelBuilder |
||||
|
.HasAnnotation("ProductVersion", "2.1.4-rtm-31024") |
||||
|
.HasAnnotation("Relational:MaxIdentifierLength", 128) |
||||
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); |
||||
|
|
||||
|
modelBuilder.Entity("Volo.Docs.Projects.Project", b => |
||||
|
{ |
||||
|
b.Property<Guid>("Id") |
||||
|
.ValueGeneratedOnAdd(); |
||||
|
|
||||
|
b.Property<string>("DefaultDocumentName") |
||||
|
.IsRequired() |
||||
|
.HasMaxLength(128); |
||||
|
|
||||
|
b.Property<string>("DocumentStoreType"); |
||||
|
|
||||
|
b.Property<string>("ExtraProperties") |
||||
|
.HasColumnName("ExtraProperties"); |
||||
|
|
||||
|
b.Property<string>("Format"); |
||||
|
|
||||
|
b.Property<string>("GoogleCustomSearchId"); |
||||
|
|
||||
|
b.Property<string>("LatestVersionBranchName") |
||||
|
.HasMaxLength(128); |
||||
|
|
||||
|
b.Property<string>("MainWebsiteUrl"); |
||||
|
|
||||
|
b.Property<string>("MinimumVersion"); |
||||
|
|
||||
|
b.Property<string>("Name") |
||||
|
.IsRequired() |
||||
|
.HasMaxLength(128); |
||||
|
|
||||
|
b.Property<string>("NavigationDocumentName") |
||||
|
.IsRequired() |
||||
|
.HasMaxLength(128); |
||||
|
|
||||
|
b.Property<string>("ShortName") |
||||
|
.IsRequired() |
||||
|
.HasMaxLength(32); |
||||
|
|
||||
|
b.HasKey("Id"); |
||||
|
|
||||
|
b.ToTable("DocsProjects"); |
||||
|
}); |
||||
|
#pragma warning restore 612, 618
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,32 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Volo.DocsTestApp.EntityFrameworkCore.Migrations |
||||
|
{ |
||||
|
public partial class Added_Project_MinimumVersion : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "LatestVersionBranchName", |
||||
|
table: "DocsProjects", |
||||
|
maxLength: 128, |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "MinimumVersion", |
||||
|
table: "DocsProjects", |
||||
|
nullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "LatestVersionBranchName", |
||||
|
table: "DocsProjects"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "MinimumVersion", |
||||
|
table: "DocsProjects"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,6 @@ |
|||||
@import "_docs.scss"; |
@import "_docs.scss"; |
||||
@media (max-width: 767px) { |
@media (max-width: 767px) { |
||||
@import "_responsive.scss"; |
@import "_responsive.scss"; |
||||
|
|
||||
|
|
||||
} |
} |
||||
Loading…
Reference in new issue