30 lines
778 B
C#
30 lines
778 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Watcher.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class DBUpdateIssue32IsVerifiedServers : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsVerified",
|
|
table: "Servers",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IsVerified",
|
|
table: "Servers");
|
|
}
|
|
}
|
|
}
|