32 lines
849 B
C#
32 lines
849 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace SIFinance.Shared.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddCommentaireToFactures : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "commentaire",
|
|
schema: "fin",
|
|
table: "factures",
|
|
type: "nvarchar(1000)",
|
|
maxLength: 1000,
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "commentaire",
|
|
schema: "fin",
|
|
table: "factures");
|
|
}
|
|
}
|
|
}
|