forked from ddrilling/AsbCloudServer
27 lines
749 B
C#
27 lines
749 B
C#
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: "Информация о файле в облаке");
|
||
}
|
||
}
|
||
}
|