using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
///
public partial class updatetableinsigniaaddfirstname : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Amount",
table: "InsigniaRequestProfiles",
type: "double",
nullable: true);
migrationBuilder.AddColumn(
name: "BirthDate",
table: "InsigniaRequestProfiles",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn(
name: "CitizenId",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "DateAppoint",
table: "InsigniaRequestProfiles",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn(
name: "FirstName",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Gender",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "LastName",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosLevelName",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosNo",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosTypeName",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Position",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PositionSalaryAmount",
table: "InsigniaRequestProfiles",
type: "double",
nullable: true);
migrationBuilder.AddColumn(
name: "Prefix",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "ProfileType",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Amount",
table: "InsigniaNoteProfiles",
type: "double",
nullable: true);
migrationBuilder.AddColumn(
name: "BirthDate",
table: "InsigniaNoteProfiles",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn(
name: "CitizenId",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "DateAppoint",
table: "InsigniaNoteProfiles",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn(
name: "FirstName",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Gender",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "LastName",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosLevelName",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosNo",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PosTypeName",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Position",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "PositionSalaryAmount",
table: "InsigniaNoteProfiles",
type: "double",
nullable: true);
migrationBuilder.AddColumn(
name: "Prefix",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "ProfileType",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Amount",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "BirthDate",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "CitizenId",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "DateAppoint",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "FirstName",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Gender",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "LastName",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "PosLevelName",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "PosNo",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "PosTypeName",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Position",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "PositionSalaryAmount",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Prefix",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "ProfileType",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Amount",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "BirthDate",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "CitizenId",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "DateAppoint",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "FirstName",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Gender",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "LastName",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "PosLevelName",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "PosNo",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "PosTypeName",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Position",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "PositionSalaryAmount",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Prefix",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "ProfileType",
table: "InsigniaNoteProfiles");
}
}
}