using Microsoft.EntityFrameworkCore.Migrations; namespace Bit.MySqlMigrations.Migrations { public partial class FailedLoginCaptcha : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "FailedLoginCount", table: "User", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "LastFailedLoginDate", table: "User", type: "datetime(6)", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FailedLoginCount", table: "User"); migrationBuilder.DropColumn( name: "LastFailedLoginDate", table: "User"); } } }