mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 00:23:23 +00:00
29 lines
742 B
C#
29 lines
742 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
#nullable disable
|
|||
|
|
|
|||
|
|
namespace Data.SeaHavenIndustries.Migrations
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
public partial class AddLocationNotes : Migration
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "Notes",
|
|||
|
|
table: "Locations",
|
|||
|
|
type: "nvarchar(max)",
|
|||
|
|
nullable: true);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "Notes",
|
|||
|
|
table: "Locations");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|