manager-service/ManagerService/Migrations/20260428113203_AddWebSlugAndPublicApiKeyToInstance.cs
2026-05-07 16:49:56 +02:00

39 lines
1.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ManagerService.Migrations
{
/// <inheritdoc />
public partial class AddWebSlugAndPublicApiKeyToInstance : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PublicApiKey",
table: "Instances",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "WebSlug",
table: "Instances",
type: "text",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PublicApiKey",
table: "Instances");
migrationBuilder.DropColumn(
name: "WebSlug",
table: "Instances");
}
}
}