Single UpdateData migration for ID 00000000-...-0001 (sortOrder 0).
Name-only rename, genotype/ID/FK unchanged — no drift risk.
Matches colorVarietySeed.backend.json after GEN-4c (main 3aa9ac9).
165/165 tests, ef has-pending=No.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
34 lines
1008 B
C#
34 lines
1008 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace GerbilManagerWebAPI.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class RenameREW : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "ColorVarieties",
|
|
keyColumn: "Id",
|
|
keyValue: new Guid("00000000-0000-0000-0000-000000000001"),
|
|
column: "Name",
|
|
value: "REW");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.UpdateData(
|
|
table: "ColorVarieties",
|
|
keyColumn: "Id",
|
|
keyValue: new Guid("00000000-0000-0000-0000-000000000001"),
|
|
column: "Name",
|
|
value: "Pink Eyed White (PEW)");
|
|
}
|
|
}
|
|
}
|