Files
odpo/ConsoleApp1/Migrations/20260928133223_checkAll02.cs
2026-11-27 15:09:02 +03:00

30 lines
795 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ConsoleApp1.Migrations
{
/// <inheritdoc />
public partial class checkAll02 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "pokemon_base_experience",
table: "pokemon",
type: "double precision",
nullable: false,
defaultValue: 0.0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "pokemon_base_experience",
table: "pokemon");
}
}
}