30 lines
768 B
C#
30 lines
768 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace IntroSkipper.Migrations
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class SeasonRegex : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<string>(
|
|||
|
name: "Regex",
|
|||
|
table: "DbSeasonInfo",
|
|||
|
type: "TEXT",
|
|||
|
nullable: false,
|
|||
|
defaultValue: string.Empty);
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "Regex",
|
|||
|
table: "DbSeasonInfo");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|