31 lines
843 B
C#
31 lines
843 B
C#
using System.Collections.Generic;
|
|
using DysonNetwork.Shared.Models;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace DysonNetwork.Insight.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class RefactorThoughtMessage : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<List<SnThinkingMessagePart>>(
|
|
name: "parts",
|
|
table: "thinking_thoughts",
|
|
type: "jsonb",
|
|
nullable: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "parts",
|
|
table: "thinking_thoughts");
|
|
}
|
|
}
|
|
}
|