using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ManagerService.Migrations
{
///
public partial class CleanWeatherInConfiguration : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "WeatherCity",
table: "Configurations");
migrationBuilder.DropColumn(
name: "WeatherResult",
table: "Configurations");
migrationBuilder.DropColumn(
name: "WeatherUpdatedDate",
table: "Configurations");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "WeatherCity",
table: "Configurations",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "WeatherResult",
table: "Configurations",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "WeatherUpdatedDate",
table: "Configurations",
type: "timestamp with time zone",
nullable: true);
}
}
}