30 lines
809 B
C#
30 lines
809 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace gehGassi.Persistence.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class IdentityDocumentFlagsAdded : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FlagsValue",
|
|
table: "IdentityDocuments",
|
|
type: "nvarchar(1000)",
|
|
maxLength: 1000,
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "FlagsValue",
|
|
table: "IdentityDocuments");
|
|
}
|
|
}
|
|
}
|