33 lines
913 B
C#
33 lines
913 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
||
|
|
namespace AutoBet.Db.Migrations
|
||
|
|
{
|
||
|
|
public partial class DecimalOddsRename : Migration
|
||
|
|
{
|
||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.DropColumn(
|
||
|
|
name: "DecimailOdds",
|
||
|
|
table: "Runners");
|
||
|
|
|
||
|
|
migrationBuilder.AddColumn<decimal>(
|
||
|
|
name: "DecimalOdds",
|
||
|
|
table: "Runners",
|
||
|
|
nullable: true);
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.DropColumn(
|
||
|
|
name: "DecimalOdds",
|
||
|
|
table: "Runners");
|
||
|
|
|
||
|
|
migrationBuilder.AddColumn<decimal>(
|
||
|
|
name: "DecimailOdds",
|
||
|
|
table: "Runners",
|
||
|
|
type: "decimal(18,2)",
|
||
|
|
nullable: true);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|