76 lines
2.7 KiB
C#
76 lines
2.7 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Gready_Poang.DataLayer.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class GamePointsTableStaticSeed : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 1,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 14, 9, 34, 269, DateTimeKind.Local).AddTicks(5394));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 2,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 14, 9, 34, 269, DateTimeKind.Local).AddTicks(6081));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 3,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 14, 9, 34, 269, DateTimeKind.Local).AddTicks(6085));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 4,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 14, 9, 34, 269, DateTimeKind.Local).AddTicks(6088));
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 1,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 13, 56, 59, 539, DateTimeKind.Local).AddTicks(8341));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 2,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 13, 56, 59, 539, DateTimeKind.Local).AddTicks(8923));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 3,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 13, 56, 59, 539, DateTimeKind.Local).AddTicks(8927));
|
|
|
|
migrationBuilder.UpdateData(
|
|
table: "GamePoints",
|
|
keyColumn: "GamePointId",
|
|
keyValue: 4,
|
|
column: "GameDate",
|
|
value: new DateTime(2025, 9, 2, 13, 56, 59, 539, DateTimeKind.Local).AddTicks(8929));
|
|
}
|
|
}
|
|
}
|