|  |  |  | @ -7,11 +7,88 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         protected override void Up(MigrationBuilder migrationBuilder) | 
			
		
	
		
			
				
					|  |  |  |  |         { | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpClaimTypes", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Required = table.Column<bool>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     IsStatic = table.Column<bool>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Regex = table.Column<string>(maxLength: 512, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     RegexDescription = table.Column<string>(maxLength: 128, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Description = table.Column<string>(maxLength: 256, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ValueType = table.Column<int>(nullable: false) | 
			
		
	
		
			
				
					|  |  |  |  |                 }, | 
			
		
	
		
			
				
					|  |  |  |  |                 constraints: table => | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     table.PrimaryKey("PK_AbpClaimTypes", x => x.Id); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpRoles", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     TenantId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     NormalizedName = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     IsDefault = table.Column<bool>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     IsStatic = table.Column<bool>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     IsPublic = table.Column<bool>(nullable: false) | 
			
		
	
		
			
				
					|  |  |  |  |                 }, | 
			
		
	
		
			
				
					|  |  |  |  |                 constraints: table => | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     table.PrimaryKey("PK_AbpRoles", x => x.Id); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUsers", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     CreationTime = table.Column<DateTime>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     CreatorId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     LastModificationTime = table.Column<DateTime>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     LastModifierId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     IsDeleted = table.Column<bool>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     DeleterId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     DeletionTime = table.Column<DateTime>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     TenantId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     UserName = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     NormalizedUserName = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 64, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Surname = table.Column<string>(maxLength: 64, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Email = table.Column<string>(maxLength: 256, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     NormalizedEmail = table.Column<string>(maxLength: 256, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     EmailConfirmed = table.Column<bool>(nullable: false, defaultValue: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     PasswordHash = table.Column<string>(maxLength: 256, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     SecurityStamp = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     PhoneNumber = table.Column<string>(maxLength: 16, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     PhoneNumberConfirmed = table.Column<bool>(nullable: false, defaultValue: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     TwoFactorEnabled = table.Column<bool>(nullable: false, defaultValue: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     LockoutEnd = table.Column<DateTimeOffset>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     LockoutEnabled = table.Column<bool>(nullable: false, defaultValue: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     AccessFailedCount = table.Column<int>(nullable: false, defaultValue: 0) | 
			
		
	
		
			
				
					|  |  |  |  |                 }, | 
			
		
	
		
			
				
					|  |  |  |  |                 constraints: table => | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     table.PrimaryKey("PK_AbpUsers", x => x.Id); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IdentityServerApiResources", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 200, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     DisplayName = table.Column<string>(maxLength: 200, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Description = table.Column<string>(maxLength: 1000, nullable: true), | 
			
		
	
	
		
			
				
					|  |  |  | @ -27,6 +104,8 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClientId = table.Column<string>(maxLength: 200, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClientName = table.Column<string>(maxLength: 200, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Description = table.Column<string>(maxLength: 1000, nullable: true), | 
			
		
	
	
		
			
				
					|  |  |  | @ -72,6 +151,8 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 200, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     DisplayName = table.Column<string>(maxLength: 200, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Description = table.Column<string>(maxLength: 1000, nullable: true), | 
			
		
	
	
		
			
				
					|  |  |  | @ -90,6 +171,8 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ExtraProperties = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ConcurrencyStamp = table.Column<string>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     Key = table.Column<string>(maxLength: 200, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Type = table.Column<string>(maxLength: 50, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     SubjectId = table.Column<string>(maxLength: 200, nullable: true), | 
			
		
	
	
		
			
				
					|  |  |  | @ -103,6 +186,115 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |                     table.PrimaryKey("PK_IdentityServerPersistedGrants", x => x.Key); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpRoleClaims", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
		
			
				
					|  |  |  |  |                 { | 
			
		
	
		
			
				
					|  |  |  |  |                     Id = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     TenantId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClaimType = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClaimValue = table.Column<string>(maxLength: 1024, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     RoleId = table.Column<Guid>(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<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     TenantId = table.Column<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClaimType = table.Column<string>(maxLength: 256, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ClaimValue = table.Column<string>(maxLength: 1024, nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     UserId = table.Column<Guid>(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<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     UserId = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     LoginProvider = table.Column<string>(maxLength: 64, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ProviderKey = table.Column<string>(maxLength: 196, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     ProviderDisplayName = table.Column<string>(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<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     UserId = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     RoleId = table.Column<Guid>(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<Guid>(nullable: true), | 
			
		
	
		
			
				
					|  |  |  |  |                     UserId = table.Column<Guid>(nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     LoginProvider = table.Column<string>(maxLength: 64, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Name = table.Column<string>(maxLength: 128, nullable: false), | 
			
		
	
		
			
				
					|  |  |  |  |                     Value = table.Column<string>(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: "IdentityServerApiClaims", | 
			
		
	
		
			
				
					|  |  |  |  |                 columns: table => new | 
			
		
	
	
		
			
				
					|  |  |  | @ -370,6 +562,51 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |                         onDelete: ReferentialAction.Cascade); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateIndex( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IX_AbpRoleClaims_RoleId", | 
			
		
	
		
			
				
					|  |  |  |  |                 table: "AbpRoleClaims", | 
			
		
	
		
			
				
					|  |  |  |  |                 column: "RoleId"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.CreateIndex( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IX_AbpRoles_NormalizedName", | 
			
		
	
		
			
				
					|  |  |  |  |                 table: "AbpRoles", | 
			
		
	
		
			
				
					|  |  |  |  |                 column: "NormalizedName"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             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_IdentityServerClientClaims_ClientId", | 
			
		
	
		
			
				
					|  |  |  |  |                 table: "IdentityServerClientClaims", | 
			
		
	
	
		
			
				
					|  |  |  | @ -389,6 +626,24 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         protected override void Down(MigrationBuilder migrationBuilder) | 
			
		
	
		
			
				
					|  |  |  |  |         { | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpClaimTypes"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpRoleClaims"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUserClaims"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUserLogins"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUserRoles"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUserTokens"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IdentityServerApiClaims"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -431,6 +686,12 @@ namespace IdentityServerHost.Migrations | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IdentityServerPersistedGrants"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpRoles"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "AbpUsers"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             migrationBuilder.DropTable( | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "IdentityServerApiScopes"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 |