ContentEditor possibility to upload image in html post

This commit is contained in:
Dominic Villemure
2024-10-12 18:14:02 -04:00
parent a7835670c6
commit deae0f75ba
11 changed files with 566 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Hutopy.Web.Features.Contents.Migrations
{
/// <inheritdoc />
public partial class AddHtmlFileUrl : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "HtmlFileUrl",
schema: "Content",
table: "Contents",
type: "text",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HtmlFileUrl",
schema: "Content",
table: "Contents");
}
}
}