Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
30 lines
731 B
C#
30 lines
731 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace MaBibli.Api.Data.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class NoticeBibliographique : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "UrlNotice",
|
|
table: "Livres",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "UrlNotice",
|
|
table: "Livres");
|
|
}
|
|
}
|
|
}
|
|
|