mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.7 KiB
51 lines
1.7 KiB
// <auto-generated />
|
|
using MicroserviceDemo.PermissionService.Db;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage;
|
|
using Microsoft.EntityFrameworkCore.Storage.Internal;
|
|
using System;
|
|
|
|
namespace MicroserviceDemo.PermissionService.Migrations
|
|
{
|
|
[DbContext(typeof(MigrationDbContext))]
|
|
partial class MigrationDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "2.0.1-rtm-125")
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
modelBuilder.Entity("Volo.Abp.Permissions.PermissionGrant", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<string>("Name")
|
|
.IsRequired()
|
|
.HasMaxLength(128);
|
|
|
|
b.Property<string>("ProviderKey")
|
|
.IsRequired()
|
|
.HasMaxLength(64);
|
|
|
|
b.Property<string>("ProviderName")
|
|
.IsRequired()
|
|
.HasMaxLength(64);
|
|
|
|
b.Property<Guid?>("TenantId");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey");
|
|
|
|
b.ToTable("AbpPermissionGrants");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|
|
|