WorldTime/Data/Migrations/20230909184554_AddEphemeral.cs

30 lines
793 B
C#
Raw Normal View History

2023-09-09 18:46:50 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace WorldTime.Data.Migrations
{
/// <inheritdoc />
public partial class AddEphemeral : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "ephemeral_confirm",
table: "guild_settings",
type: "boolean",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ephemeral_confirm",
table: "guild_settings");
}
}
}