using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ODMO.Infrastructure.Migrations
{
///
public partial class UpdateEncyclopediaEvolutions : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "WOSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "WISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "WASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "THSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "STSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "SCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "NESCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "LISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "LASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "ICSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "FISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AlterColumn(
name: "DASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(38,17)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(18,0)");
migrationBuilder.AddColumn(
name: "SlotLevel",
schema: "Character",
table: "EncyclopediaEvolutions",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.UpdateData(
schema: "Config",
table: "Hash",
keyColumn: "Id",
keyValue: 1L,
column: "CreatedAt",
value: new DateTime(2024, 10, 24, 2, 35, 42, 558, DateTimeKind.Local).AddTicks(6826));
migrationBuilder.UpdateData(
schema: "Routine",
table: "Routine",
keyColumn: "Id",
keyValue: 1L,
column: "CreatedAt",
value: new DateTime(2024, 10, 24, 2, 35, 42, 567, DateTimeKind.Local).AddTicks(879));
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SlotLevel",
schema: "Character",
table: "EncyclopediaEvolutions");
migrationBuilder.AlterColumn(
name: "WOSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "WISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "WASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "THSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "STSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "SCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "NESCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "LISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "LASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "ICSCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "FISCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.AlterColumn(
name: "DASCD",
schema: "Asset",
table: "TitleStatus",
type: "numeric(18,0)",
nullable: false,
oldClrType: typeof(decimal),
oldType: "numeric(38,17)");
migrationBuilder.UpdateData(
schema: "Config",
table: "Hash",
keyColumn: "Id",
keyValue: 1L,
column: "CreatedAt",
value: new DateTime(2024, 10, 24, 0, 21, 10, 729, DateTimeKind.Local).AddTicks(2134));
migrationBuilder.UpdateData(
schema: "Routine",
table: "Routine",
keyColumn: "Id",
keyValue: 1L,
column: "CreatedAt",
value: new DateTime(2024, 10, 24, 0, 21, 10, 736, DateTimeKind.Local).AddTicks(3280));
}
}
}