using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace vendorApproverBackend.Migrations
{
///
public partial class AddProductAttributes2 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "firstapprovalDate",
table: "products",
type: "timestamp without time zone",
nullable: true);
migrationBuilder.AddColumn(
name: "localAgentEmail",
table: "products",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "manufacturerEmail",
table: "products",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "FirstApprovalDate",
table: "PrequalificationRequests",
type: "timestamp without time zone",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "firstapprovalDate",
table: "products");
migrationBuilder.DropColumn(
name: "localAgentEmail",
table: "products");
migrationBuilder.DropColumn(
name: "manufacturerEmail",
table: "products");
migrationBuilder.DropColumn(
name: "FirstApprovalDate",
table: "PrequalificationRequests");
}
}
}