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