DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20220811101026_Remove_fileShare_service.cs

27 lines
749 B
C#
Raw Normal View History

2022-08-11 15:14:01 +05:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class Remove_fileShare_service : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "publish_info",
table: "t_file_info");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "publish_info",
table: "t_file_info",
type: "jsonb",
nullable: true,
comment: "Информация о файле в облаке");
}
}
}