32 lines
910 B
C#
32 lines
910 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace JobTrackerApi.Migrations
|
|
{
|
|
public partial class AddCorrespondenceEmailFields : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Subject",
|
|
table: "Correspondences",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Channel",
|
|
table: "Correspondences",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(name: "Subject", table: "Correspondences");
|
|
migrationBuilder.DropColumn(name: "Channel", table: "Correspondences");
|
|
}
|
|
}
|
|
}
|
|
|