add field

This commit is contained in:
Suphonchai Phoonsawat 2024-02-13 13:25:01 +07:00
parent c704556891
commit e45cf014b1
11 changed files with 51436 additions and 0 deletions

View file

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddFieldsIsSendVerifiedTable : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsSendVerified",
table: "Profiles",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsSendVerified",
table: "Profiles");
}
}
}