🗃️ Sharable rewind point migration

This commit is contained in:
2025-12-27 14:25:08 +08:00
parent bb5d70eddb
commit 334fa9b9a7
3 changed files with 2982 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DysonNetwork.Pass.Migrations
{
/// <inheritdoc />
public partial class AddSharableRewindPoint : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "sharable_code",
table: "rewind_points",
type: "character varying(4096)",
maxLength: 4096,
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "sharable_code",
table: "rewind_points");
}
}
}