@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
{
public partial class AbpIdentity_Initial_Migration : Migration
public partial class Initial_ Abp_ Identity : Migration
{
protected override void Up ( MigrationBuilder migrationBuilder )
{
@ -12,7 +12,7 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityRoles" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
Id = table . Column < Guid > ( nullable : false ) ,
ConcurrencyStamp = table . Column < string > ( nullable : true ) ,
Name = table . Column < string > ( maxLength : 256 , nullable : true ) ,
NormalizedName = table . Column < string > ( maxLength : 256 , nullable : true )
@ -26,20 +26,20 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityUsers" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
AccessFailedCount = table . Column < int > ( nullable : false , defaultValue : 0 ),
Id = table . Column < Guid > ( nullable : false ) ,
AccessFailedCount = table . Column < int > ( nullable : false ),
ConcurrencyStamp = table . Column < string > ( nullable : true ) ,
Email = table . Column < string > ( maxLength : 256 , nullable : true ) ,
EmailConfirmed = table . Column < bool > ( nullable : false , defaultValue : false ),
LockoutEnabled = table . Column < bool > ( nullable : false , defaultValue : false ),
EmailConfirmed = table . Column < bool > ( nullable : false ),
LockoutEnabled = table . Column < bool > ( nullable : false ),
LockoutEnd = table . Column < DateTimeOffset > ( nullable : true ) ,
NormalizedEmail = table . Column < string > ( maxLength : 256 , nullable : true ) ,
NormalizedUserName = table . Column < string > ( maxLength : 256 , nullable : true ) ,
PasswordHash = table . Column < string > ( nullable : true ) ,
PhoneNumber = table . Column < string > ( nullable : true ) ,
PhoneNumberConfirmed = table . Column < bool > ( nullable : false , defaultValue : false ),
PhoneNumberConfirmed = table . Column < bool > ( nullable : false ),
SecurityStamp = table . Column < string > ( nullable : true ) ,
TwoFactorEnabled = table . Column < bool > ( nullable : false , defaultValue : false ),
TwoFactorEnabled = table . Column < bool > ( nullable : false ),
UserName = table . Column < string > ( maxLength : 256 , nullable : true )
} ,
constraints : table = >
@ -51,10 +51,10 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityRoleClaims" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
Id = table . Column < Guid > ( nullable : false ) ,
ClaimType = table . Column < string > ( nullable : true ) ,
ClaimValue = table . Column < string > ( nullable : true ) ,
RoleId = table . Column < string > ( nullable : false )
RoleId = table . Column < Guid > ( nullable : false )
} ,
constraints : table = >
{
@ -71,10 +71,10 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityUserClaims" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
Id = table . Column < Guid > ( nullable : false ) ,
ClaimType = table . Column < string > ( nullable : true ) ,
ClaimValue = table . Column < string > ( nullable : true ) ,
UserId = table . Column < string > ( nullable : false )
UserId = table . Column < Guid > ( nullable : false )
} ,
constraints : table = >
{
@ -91,11 +91,11 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityUserLogins" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
Id = table . Column < Guid > ( nullable : false ) ,
LoginProvider = table . Column < string > ( nullable : true ) ,
ProviderDisplayName = table . Column < string > ( nullable : true ) ,
ProviderKey = table . Column < string > ( nullable : true ) ,
UserId = table . Column < string > ( nullable : false )
UserId = table . Column < Guid > ( nullable : false )
} ,
constraints : table = >
{
@ -112,9 +112,9 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityUserRoles" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
RoleId = table . Column < string > ( nullable : false ) ,
UserId = table . Column < string > ( nullable : false )
Id = table . Column < Guid > ( nullable : false ) ,
RoleId = table . Column < Guid > ( nullable : false ) ,
UserId = table . Column < Guid > ( nullable : false )
} ,
constraints : table = >
{
@ -137,10 +137,10 @@ namespace Volo.Abp.Identity.EntityFrameworkCore.Migrations
name : "IdentityUserTokens" ,
columns : table = > new
{
Id = table . Column < string > ( nullable : false ) ,
Id = table . Column < Guid > ( nullable : false ) ,
LoginProvider = table . Column < string > ( nullable : true ) ,
Name = table . Column < string > ( nullable : true ) ,
UserId = table . Column < string > ( nullable : false ) ,
UserId = table . Column < Guid > ( nullable : false ) ,
Value = table . Column < string > ( nullable : true )
} ,
constraints : table = >