forked from ddrilling/AsbCloudServer
25 lines
748 B
C#
25 lines
748 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Add_WebUrl_In_FileInfo : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "web_storage_url",
|
|
table: "t_file_info",
|
|
type: "text",
|
|
nullable: true,
|
|
comment: "Ссылка для просмотра файла в облаке");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "web_storage_url",
|
|
table: "t_file_info");
|
|
}
|
|
}
|
|
}
|