using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
///
public partial class updatetableinsigniaprofileaddchild : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Child1",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child1Id",
table: "InsigniaRequestProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child2",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child2Id",
table: "InsigniaRequestProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child3",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child3Id",
table: "InsigniaRequestProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child4",
table: "InsigniaRequestProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child4Id",
table: "InsigniaRequestProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child1",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child1Id",
table: "InsigniaNoteProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child2",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child2Id",
table: "InsigniaNoteProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child3",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child3Id",
table: "InsigniaNoteProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child4",
table: "InsigniaNoteProfiles",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Child4Id",
table: "InsigniaNoteProfiles",
type: "char(36)",
nullable: true,
collation: "ascii_general_ci");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Child1",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child1Id",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child2",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child2Id",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child3",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child3Id",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child4",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child4Id",
table: "InsigniaRequestProfiles");
migrationBuilder.DropColumn(
name: "Child1",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child1Id",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child2",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child2Id",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child3",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child3Id",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child4",
table: "InsigniaNoteProfiles");
migrationBuilder.DropColumn(
name: "Child4Id",
table: "InsigniaNoteProfiles");
}
}
}