using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace vendorApproverBackend.Migrations
{
///
public partial class AddRequestExpiryDate : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "approvalDate",
table: "products",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.AddColumn(
name: "expiryDate",
table: "products",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.AddColumn(
name: "local_agent",
table: "products",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "manufacturer",
table: "products",
type: "text",
nullable: true);
migrationBuilder.AddColumn(
name: "ApprovalDate",
table: "PrequalificationRequests",
type: "timestamp with time zone",
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "approvalDate",
table: "products");
migrationBuilder.DropColumn(
name: "expiryDate",
table: "products");
migrationBuilder.DropColumn(
name: "local_agent",
table: "products");
migrationBuilder.DropColumn(
name: "manufacturer",
table: "products");
migrationBuilder.DropColumn(
name: "ApprovalDate",
table: "PrequalificationRequests");
}
}
}