28 lines
764 B
C#
28 lines
764 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
||
|
#nullable disable
|
||
|
|
||
|
namespace ASC.Migrations.PostgreSql.Migrations.FeedDb
|
||
|
{
|
||
|
public partial class FeedDbContext_Upgrade1 : Migration
|
||
|
{
|
||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.AddColumn<string>(
|
||
|
name: "context_id",
|
||
|
schema: "onlyoffice",
|
||
|
table: "feed_aggregate",
|
||
|
type: "text",
|
||
|
nullable: true);
|
||
|
}
|
||
|
|
||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "context_id",
|
||
|
schema: "onlyoffice",
|
||
|
table: "feed_aggregate");
|
||
|
}
|
||
|
}
|
||
|
}
|