mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-28 00:19:10 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RadicadeServer.Migrations
|
||||
{
|
||||
|
||||
public partial class ConfigRework : Migration
|
||||
{
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "ExpectingReload",
|
||||
table: "Config",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "LastRefresh_DailyObjectives",
|
||||
table: "Config",
|
||||
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: "ExpectingReload",
|
||||
table: "Config");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LastRefresh_DailyObjectives",
|
||||
table: "Config");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user