✨ Pinned post
This commit is contained in:
28
DysonNetwork.Sphere/Migrations/20250825045548_AddPostPin.cs
Normal file
28
DysonNetwork.Sphere/Migrations/20250825045548_AddPostPin.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DysonNetwork.Sphere.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddPostPin : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "pin_mode",
|
||||
table: "posts",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "pin_mode",
|
||||
table: "posts");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user