mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
* feat(vendors): add directory filters and details API * fix(vendors): preserve omitted status * fix(vendors): align facet filtering * fix(vendors): address directory review findings
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using Data.SeaHavenIndustries;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Data.SeaHavenIndustries.Migrations
|
|
{
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
[Migration("20260720220000_AddVendorDirectoryDetails")]
|
|
public partial class AddVendorDirectoryDetails : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "CompanyPhone",
|
|
table: "Vendors",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "GoogleMapsUrl",
|
|
table: "Vendors",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Notes",
|
|
table: "Vendors",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(name: "CompanyPhone", table: "Vendors");
|
|
migrationBuilder.DropColumn(name: "GoogleMapsUrl", table: "Vendors");
|
|
migrationBuilder.DropColumn(name: "Notes", table: "Vendors");
|
|
}
|
|
}
|
|
}
|