Update delete workflows

This commit is contained in:
2026-05-14 18:24:20 +02:00
parent 7215eebb5a
commit a4128d0953
30 changed files with 1098 additions and 293 deletions
@@ -0,0 +1,40 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Musify.Infrastructure.Persistence.Migrations
{
/// <inheritdoc />
public partial class AddLifeCycleStatus : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "LifeCycleStatus",
table: "Tracks",
type: "integer",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "LifeCycleStatus",
table: "PlayLists",
type: "integer",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "LifeCycleStatus",
table: "Tracks");
migrationBuilder.DropColumn(
name: "LifeCycleStatus",
table: "PlayLists");
}
}
}