using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace MTWireGuard.Application.Migrations
{
///
public partial class UserTrafficLimit : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SystemReset",
table: "DataUsages");
migrationBuilder.AddColumn(
name: "TrafficLimit",
table: "Users",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "TrafficLimit",
table: "Users");
migrationBuilder.AddColumn(
name: "SystemReset",
table: "DataUsages",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
}
}