diff --git a/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.Designer.cs b/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.Designer.cs index 4a801e13bb..9d4043e024 100644 --- a/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.Designer.cs +++ b/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.Designer.cs @@ -18,7 +18,7 @@ namespace IdentitySample.DefaultUI.Data.Migrations { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "2.1.0-preview1-27871") + .HasAnnotation("ProductVersion", "2.1.0-preview1-27965") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b => @@ -136,9 +136,11 @@ namespace IdentitySample.DefaultUI.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.Property("LoginProvider"); + b.Property("LoginProvider") + .HasMaxLength(128); - b.Property("ProviderKey"); + b.Property("ProviderKey") + .HasMaxLength(128); b.Property("ProviderDisplayName"); @@ -169,9 +171,11 @@ namespace IdentitySample.DefaultUI.Data.Migrations { b.Property("UserId"); - b.Property("LoginProvider"); + b.Property("LoginProvider") + .HasMaxLength(128); - b.Property("Name"); + b.Property("Name") + .HasMaxLength(128); b.Property("Value"); diff --git a/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.cs b/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.cs index d0df5eb3e5..fcf45f7c3e 100644 --- a/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.cs +++ b/samples/IdentitySample.DefaultUI/Data/Migrations/20171220235730_CreateIdentitySchema.cs @@ -94,8 +94,8 @@ namespace IdentitySample.DefaultUI.Data.Migrations name: "AspNetUserLogins", columns: table => new { - LoginProvider = table.Column(nullable: false), - ProviderKey = table.Column(nullable: false), + LoginProvider = table.Column(maxLength: 128, nullable: false), + ProviderKey = table.Column(maxLength: 128, nullable: false), ProviderDisplayName = table.Column(nullable: true), UserId = table.Column(nullable: false) }, @@ -139,8 +139,8 @@ namespace IdentitySample.DefaultUI.Data.Migrations columns: table => new { UserId = table.Column(nullable: false), - LoginProvider = table.Column(nullable: false), - Name = table.Column(nullable: false), + LoginProvider = table.Column(maxLength: 128, nullable: false), + Name = table.Column(maxLength: 128, nullable: false), Value = table.Column(nullable: true) }, constraints: table => diff --git a/samples/IdentitySample.DefaultUI/Data/Migrations/IdentityDbContextModelSnapshot.cs b/samples/IdentitySample.DefaultUI/Data/Migrations/IdentityDbContextModelSnapshot.cs index a8929b6bfb..97f59eff98 100644 --- a/samples/IdentitySample.DefaultUI/Data/Migrations/IdentityDbContextModelSnapshot.cs +++ b/samples/IdentitySample.DefaultUI/Data/Migrations/IdentityDbContextModelSnapshot.cs @@ -17,7 +17,7 @@ namespace IdentitySample.DefaultUI.Data.Migrations { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "2.1.0-preview1-27871") + .HasAnnotation("ProductVersion", "2.1.0-preview1-27965") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b => @@ -135,9 +135,11 @@ namespace IdentitySample.DefaultUI.Data.Migrations modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => { - b.Property("LoginProvider"); + b.Property("LoginProvider") + .HasMaxLength(128); - b.Property("ProviderKey"); + b.Property("ProviderKey") + .HasMaxLength(128); b.Property("ProviderDisplayName"); @@ -168,9 +170,11 @@ namespace IdentitySample.DefaultUI.Data.Migrations { b.Property("UserId"); - b.Property("LoginProvider"); + b.Property("LoginProvider") + .HasMaxLength(128); - b.Property("Name"); + b.Property("Name") + .HasMaxLength(128); b.Property("Value");