using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Bit.SqliteMigrations.Migrations; public partial class LastUserDates : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "LastEmailChangeDate", table: "User", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "LastKdfChangeDate", table: "User", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "LastKeyRotationDate", table: "User", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "LastPasswordChangeDate", table: "User", type: "TEXT", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "LastEmailChangeDate", table: "User"); migrationBuilder.DropColumn( name: "LastKdfChangeDate", table: "User"); migrationBuilder.DropColumn( name: "LastKeyRotationDate", table: "User"); migrationBuilder.DropColumn( name: "LastPasswordChangeDate", table: "User"); } }