dev
This commit is contained in:
29
ZpcBulletinBoard/Migrations/20240309105503_3.cs
Normal file
29
ZpcBulletinBoard/Migrations/20240309105503_3.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ZpcBulletinBoard.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Image",
|
||||
table: "BulletinBoardPage",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Image",
|
||||
table: "BulletinBoardPage");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user