@ -19,10 +19,10 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
#pragma warning disable 612, 618
modelBuilder
. HasAnnotation ( "_Abp_DatabaseProvider" , EfCoreDatabaseProvider . SqlServer )
. HasAnnotation ( "ProductVersion" , " 6.0.0 ")
. HasAnnotation ( "ProductVersion" , " 7.0.1 ")
. HasAnnotation ( "Relational:MaxIdentifierLength" , 128 ) ;
SqlServerModelBuilderExtensions . UseIdentityColumns ( modelBuilder , 1L , 1 );
SqlServerModelBuilderExtensions . UseIdentityColumns ( modelBuilder );
modelBuilder . Entity ( "Volo.Abp.BlobStoring.Database.DatabaseBlob" , b = >
{
@ -183,6 +183,9 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "nvarchar(40)" )
. HasColumnName ( "ConcurrencyStamp" ) ;
b . Property < int > ( "EntityVersion" )
. HasColumnType ( "int" ) ;
b . Property < string > ( "ExtraProperties" )
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
@ -369,6 +372,9 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasDefaultValue ( false )
. HasColumnName ( "EmailConfirmed" ) ;
b . Property < int > ( "EntityVersion" )
. HasColumnType ( "int" ) ;
b . Property < string > ( "ExtraProperties" )
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
@ -397,6 +403,9 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "uniqueidentifier" )
. HasColumnName ( "LastModifierId" ) ;
b . Property < DateTimeOffset ? > ( "LastPasswordChangeTime" )
. HasColumnType ( "datetimeoffset" ) ;
b . Property < bool > ( "LockoutEnabled" )
. ValueGeneratedOnAdd ( )
. HasColumnType ( "bit" )
@ -445,6 +454,9 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "nvarchar(256)" )
. HasColumnName ( "SecurityStamp" ) ;
b . Property < bool > ( "ShouldChangePasswordOnNextLogin" )
. HasColumnType ( "bit" ) ;
b . Property < string > ( "Surname" )
. HasMaxLength ( 64 )
. HasColumnType ( "nvarchar(64)" )
@ -507,6 +519,33 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
b . ToTable ( "AbpUserClaims" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.Identity.IdentityUserDelegation" , b = >
{
b . Property < Guid > ( "Id" )
. ValueGeneratedOnAdd ( )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < DateTime > ( "EndTime" )
. HasColumnType ( "datetime2" ) ;
b . Property < Guid > ( "SourceUserId" )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < DateTime > ( "StartTime" )
. HasColumnType ( "datetime2" ) ;
b . Property < Guid > ( "TargetUserId" )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < Guid ? > ( "TenantId" )
. HasColumnType ( "uniqueidentifier" )
. HasColumnName ( "TenantId" ) ;
b . HasKey ( "Id" ) ;
b . ToTable ( "AbpUserDelegations" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.Identity.IdentityUserLogin" , b = >
{
b . Property < Guid > ( "UserId" )
@ -647,6 +686,9 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "nvarchar(128)" )
. HasColumnName ( "DisplayName" ) ;
b . Property < int > ( "EntityVersion" )
. HasColumnType ( "int" ) ;
b . Property < string > ( "ExtraProperties" )
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
@ -708,6 +750,59 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
b . ToTable ( "AbpOrganizationUnitRoles" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.PermissionManagement.PermissionDefinitionRecord" , b = >
{
b . Property < Guid > ( "Id" )
. ValueGeneratedOnAdd ( )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < string > ( "DisplayName" )
. IsRequired ( )
. HasMaxLength ( 256 )
. HasColumnType ( "nvarchar(256)" ) ;
b . Property < string > ( "ExtraProperties" )
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
b . Property < string > ( "GroupName" )
. IsRequired ( )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < bool > ( "IsEnabled" )
. HasColumnType ( "bit" ) ;
b . Property < byte > ( "MultiTenancySide" )
. HasColumnType ( "tinyint" ) ;
b . Property < string > ( "Name" )
. IsRequired ( )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "ParentName" )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "Providers" )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "StateCheckers" )
. HasMaxLength ( 256 )
. HasColumnType ( "nvarchar(256)" ) ;
b . HasKey ( "Id" ) ;
b . HasIndex ( "GroupName" ) ;
b . HasIndex ( "Name" )
. IsUnique ( ) ;
b . ToTable ( "AbpPermissions" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.PermissionManagement.PermissionGrant" , b = >
{
b . Property < Guid > ( "Id" )
@ -742,6 +837,34 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
b . ToTable ( "AbpPermissionGrants" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.PermissionManagement.PermissionGroupDefinitionRecord" , b = >
{
b . Property < Guid > ( "Id" )
. ValueGeneratedOnAdd ( )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < string > ( "DisplayName" )
. IsRequired ( )
. HasMaxLength ( 256 )
. HasColumnType ( "nvarchar(256)" ) ;
b . Property < string > ( "ExtraProperties" )
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
b . Property < string > ( "Name" )
. IsRequired ( )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" ) ;
b . HasKey ( "Id" ) ;
b . HasIndex ( "Name" )
. IsUnique ( ) ;
b . ToTable ( "AbpPermissionGroups" , ( string ) null ) ;
} ) ;
modelBuilder . Entity ( "Volo.Abp.SettingManagement.Setting" , b = >
{
b . Property < Guid > ( "Id" )
@ -1099,6 +1222,16 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. ValueGeneratedOnAdd ( )
. HasColumnType ( "uniqueidentifier" ) ;
b . Property < string > ( "Biography" )
. HasMaxLength ( 1000 )
. HasColumnType ( "nvarchar(1000)" )
. HasColumnName ( "Biography" ) ;
b . Property < string > ( "Company" )
. HasMaxLength ( 128 )
. HasColumnType ( "nvarchar(128)" )
. HasColumnName ( "Company" ) ;
b . Property < string > ( "ConcurrencyStamp" )
. IsConcurrencyToken ( )
. HasMaxLength ( 40 )
@ -1121,10 +1254,25 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "nvarchar(max)" )
. HasColumnName ( "ExtraProperties" ) ;
b . Property < string > ( "Github" )
. HasMaxLength ( 64 )
. HasColumnType ( "nvarchar(64)" )
. HasColumnName ( "Github" ) ;
b . Property < bool > ( "IsActive" )
. HasColumnType ( "bit" )
. HasColumnName ( "IsActive" ) ;
b . Property < string > ( "JobTitle" )
. HasMaxLength ( 32 )
. HasColumnType ( "nvarchar(32)" )
. HasColumnName ( "JobTitle" ) ;
b . Property < string > ( "Linkedin" )
. HasMaxLength ( 64 )
. HasColumnType ( "nvarchar(64)" )
. HasColumnName ( "Linkedin" ) ;
b . Property < string > ( "Name" )
. HasMaxLength ( 64 )
. HasColumnType ( "nvarchar(64)" )
@ -1150,12 +1298,22 @@ namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
. HasColumnType ( "uniqueidentifier" )
. HasColumnName ( "TenantId" ) ;
b . Property < string > ( "Twitter" )
. HasMaxLength ( 64 )
. HasColumnType ( "nvarchar(64)" )
. HasColumnName ( "Twitter" ) ;
b . Property < string > ( "UserName" )
. IsRequired ( )
. HasMaxLength ( 256 )
. HasColumnType ( "nvarchar(256)" )
. HasColumnName ( "UserName" ) ;
b . Property < string > ( "WebSite" )
. HasMaxLength ( 256 )
. HasColumnType ( "nvarchar(256)" )
. HasColumnName ( "WebSite" ) ;
b . HasKey ( "Id" ) ;
b . ToTable ( "BlgUsers" , ( string ) null ) ;