using Microsoft.EntityFrameworkCore.Migrations; namespace DevHive.Web.Migrations { public partial class Testing_Attributes_Validation : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "LastName", table: "AspNetUsers", type: "character varying(50)", maxLength: 50, nullable: false, oldClrType: typeof(string), oldType: "text"); migrationBuilder.AlterColumn( name: "FirstName", table: "AspNetUsers", type: "character varying(50)", maxLength: 50, nullable: false, oldClrType: typeof(string), oldType: "text"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "LastName", table: "AspNetUsers", type: "text", nullable: false, oldClrType: typeof(string), oldType: "character varying(50)", oldMaxLength: 50); migrationBuilder.AlterColumn( name: "FirstName", table: "AspNetUsers", type: "text", nullable: false, oldClrType: typeof(string), oldType: "character varying(50)", oldMaxLength: 50); } } }