29 lines
757 B
C#
29 lines
757 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace DysonNetwork.Pass.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddStatusMeta : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<Dictionary<string, object>>(
|
|
name: "meta",
|
|
table: "account_statuses",
|
|
type: "jsonb",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "meta",
|
|
table: "account_statuses");
|
|
}
|
|
}
|
|
}
|