Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
29 lines
798 B
C#
29 lines
798 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace OTSSignsOrchestrator.Core.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class RenameShareBasePathToShareName : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "CifsShareBasePath",
|
|
table: "CmsInstances",
|
|
newName: "CifsShareName");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "CifsShareName",
|
|
table: "CmsInstances",
|
|
newName: "CifsShareBasePath");
|
|
}
|
|
}
|
|
}
|