24 lines
658 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|