@ -155,6 +155,7 @@ namespace Volo.CmsKit.Migrations
ParentId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
Code = table . Column < string > ( type : "nvarchar(95)" , maxLength : 95 , nullable : false ) ,
DisplayName = table . Column < string > ( type : "nvarchar(128)" , maxLength : 128 , nullable : false ) ,
EntityVersion = table . Column < int > ( type : "int" , nullable : false ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 40 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
@ -235,6 +236,7 @@ namespace Volo.CmsKit.Migrations
IsDefault = table . Column < bool > ( type : "bit" , nullable : false ) ,
IsStatic = table . Column < bool > ( type : "bit" , nullable : false ) ,
IsPublic = table . Column < bool > ( type : "bit" , nullable : false ) ,
EntityVersion = table . Column < int > ( type : "int" , nullable : false ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 40 , nullable : true )
} ,
@ -289,6 +291,7 @@ namespace Volo.CmsKit.Migrations
{
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
Name = table . Column < string > ( type : "nvarchar(64)" , maxLength : 64 , nullable : false ) ,
EntityVersion = table . Column < int > ( type : "int" , nullable : false ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 40 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
@ -304,6 +307,22 @@ namespace Volo.CmsKit.Migrations
table . PrimaryKey ( "PK_AbpTenants" , x = > x . Id ) ;
} ) ;
migrationBuilder . CreateTable (
name : "AbpUserDelegations" ,
columns : table = > new
{
Id = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TenantId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
SourceUserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
TargetUserId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
StartTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
EndTime = table . Column < DateTime > ( type : "datetime2" , nullable : false )
} ,
constraints : table = >
{
table . PrimaryKey ( "PK_AbpUserDelegations" , x = > x . Id ) ;
} ) ;
migrationBuilder . CreateTable (
name : "AbpUsers" ,
columns : table = > new
@ -327,6 +346,9 @@ namespace Volo.CmsKit.Migrations
LockoutEnd = table . Column < DateTimeOffset > ( type : "datetimeoffset" , nullable : true ) ,
LockoutEnabled = table . Column < bool > ( type : "bit" , nullable : false , defaultValue : false ) ,
AccessFailedCount = table . Column < int > ( type : "int" , nullable : false , defaultValue : 0 ) ,
ShouldChangePasswordOnNextLogin = table . Column < bool > ( type : "bit" , nullable : false ) ,
EntityVersion = table . Column < int > ( type : "int" , nullable : false ) ,
LastPasswordChangeTime = table . Column < DateTimeOffset > ( type : "datetimeoffset" , nullable : true ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 40 , nullable : true ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
@ -400,6 +422,7 @@ namespace Volo.CmsKit.Migrations
RepliedCommentId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : true ) ,
CreatorId = table . Column < Guid > ( type : "uniqueidentifier" , nullable : false ) ,
CreationTime = table . Column < DateTime > ( type : "datetime2" , nullable : false ) ,
Url = table . Column < string > ( type : "nvarchar(512)" , maxLength : 512 , nullable : true ) ,
ExtraProperties = table . Column < string > ( type : "nvarchar(max)" , nullable : true ) ,
ConcurrencyStamp = table . Column < string > ( type : "nvarchar(40)" , maxLength : 40 , nullable : true )
} ,
@ -1232,6 +1255,9 @@ namespace Volo.CmsKit.Migrations
migrationBuilder . DropTable (
name : "AbpUserClaims" ) ;
migrationBuilder . DropTable (
name : "AbpUserDelegations" ) ;
migrationBuilder . DropTable (
name : "AbpUserLogins" ) ;