Files
Radicade/Server/Migrations/20260521141438_fml1.cs
T
2026-10-16 23:33:13 -07:00

53 lines
1.6 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RadicadeServer.Migrations
{
public partial class fml1 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "CheeredAt",
table: "RoomInteractions",
type: "datetime2",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn<DateTime>(
name: "FavoritedAt",
table: "RoomInteractions",
type: "datetime2",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn<DateTime>(
name: "LastVisted",
table: "RoomInteractions",
type: "datetime2",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CheeredAt",
table: "RoomInteractions");
migrationBuilder.DropColumn(
name: "FavoritedAt",
table: "RoomInteractions");
migrationBuilder.DropColumn(
name: "LastVisted",
table: "RoomInteractions");
}
}
}