using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MTWireGuard.Application.Migrations
{
///
public partial class DNS : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "DNSAddress",
table: "Users",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "InheritDNS",
table: "Users",
type: "INTEGER",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn(
name: "InheritIP",
table: "Users",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DNSAddress",
table: "Users");
migrationBuilder.DropColumn(
name: "InheritDNS",
table: "Users");
migrationBuilder.DropColumn(
name: "InheritIP",
table: "Users");
}
}
}