Files
Backend-Api/CompanyManagment.EFCore/Migrations/20250721101031_add public id to financialstatement.cs
2025-07-21 14:19:51 +03:30

31 lines
877 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CompanyManagment.EFCore.Migrations
{
/// <inheritdoc />
public partial class addpublicidtofinancialstatement : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "PublicId",
table: "FinancialStatments",
type: "uniqueidentifier",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PublicId",
table: "FinancialStatments");
}
}
}