AfRApay/AfRApay.Web/Backend/Database/Migrations/20230519150553_636FBB05-633F-423F-B840-F9B4DE285DF5.cs

24 lines
658 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AfRApay.Web.Backend.Database.Migrations
{
/// <inheritdoc />
public partial class _636FBB05633F423FB840F9B4DE285DF5 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
// Revert wrongly detected card types
migrationBuilder.Sql("UPDATE Cards SET CardType = 20 WHERE CardType = 21 OR CardType = 23 OR CardType = 24 OR CardType = 25");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}