- Move all .NET (6 projects, solution, Directory.*.props, nuget.config) into backend/ so the monorepo root can host non-.NET projects later - Remove throwaway test artifacts: player.html, pl.json - Trim dead Flutter rules from .gitignore Build from backend/Musify.slnx: 0 warnings, 0 errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
59 lines
1.7 KiB
C#
59 lines
1.7 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Musify.Infrastructure.Persistence.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class RenameTimestampsAndAudit : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "UpdatedDate",
|
|
table: "Tracks",
|
|
newName: "UpdatedAt");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CreatedDate",
|
|
table: "Tracks",
|
|
newName: "CreatedAt");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "UpdatedDate",
|
|
table: "PlayLists",
|
|
newName: "UpdatedAt");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CreatedDate",
|
|
table: "PlayLists",
|
|
newName: "CreatedAt");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "UpdatedAt",
|
|
table: "Tracks",
|
|
newName: "UpdatedDate");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CreatedAt",
|
|
table: "Tracks",
|
|
newName: "CreatedDate");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "UpdatedAt",
|
|
table: "PlayLists",
|
|
newName: "UpdatedDate");
|
|
|
|
migrationBuilder.RenameColumn(
|
|
name: "CreatedAt",
|
|
table: "PlayLists",
|
|
newName: "CreatedDate");
|
|
}
|
|
}
|
|
}
|