52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace MareSynchronosServer.Migrations
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class DisableVFX : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<bool>(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "groups",
|
|||
|
type: "boolean",
|
|||
|
nullable: false,
|
|||
|
defaultValue: false);
|
|||
|
|
|||
|
migrationBuilder.AddColumn<bool>(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "group_pairs",
|
|||
|
type: "boolean",
|
|||
|
nullable: false,
|
|||
|
defaultValue: false);
|
|||
|
|
|||
|
migrationBuilder.AddColumn<bool>(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "client_pairs",
|
|||
|
type: "boolean",
|
|||
|
nullable: false,
|
|||
|
defaultValue: false);
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "groups");
|
|||
|
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "group_pairs");
|
|||
|
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "disable_vfx",
|
|||
|
table: "client_pairs");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|