using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
///
public partial class AddChildDnaIdsToDiscipline : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Child1DnaId",
table: "DisciplineInvestigates",
type: "char(36)",
nullable: true,
comment: "Child1DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child2DnaId",
table: "DisciplineInvestigates",
type: "char(36)",
nullable: true,
comment: "Child2DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child3DnaId",
table: "DisciplineInvestigates",
type: "char(36)",
nullable: true,
comment: "Child3DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child4DnaId",
table: "DisciplineInvestigates",
type: "char(36)",
nullable: true,
comment: "Child4DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child1DnaId",
table: "DisciplineDisciplinarys",
type: "char(36)",
nullable: true,
comment: "Child1DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child2DnaId",
table: "DisciplineDisciplinarys",
type: "char(36)",
nullable: true,
comment: "Child2DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child3DnaId",
table: "DisciplineDisciplinarys",
type: "char(36)",
nullable: true,
comment: "Child3DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child4DnaId",
table: "DisciplineDisciplinarys",
type: "char(36)",
nullable: true,
comment: "Child4DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child1DnaId",
table: "DisciplineComplaints",
type: "char(36)",
nullable: true,
comment: "Child1DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child2DnaId",
table: "DisciplineComplaints",
type: "char(36)",
nullable: true,
comment: "Child2DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child3DnaId",
table: "DisciplineComplaints",
type: "char(36)",
nullable: true,
comment: "Child3DnaId",
collation: "ascii_general_ci");
migrationBuilder.AddColumn(
name: "Child4DnaId",
table: "DisciplineComplaints",
type: "char(36)",
nullable: true,
comment: "Child4DnaId",
collation: "ascii_general_ci");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Child1DnaId",
table: "DisciplineInvestigates");
migrationBuilder.DropColumn(
name: "Child2DnaId",
table: "DisciplineInvestigates");
migrationBuilder.DropColumn(
name: "Child3DnaId",
table: "DisciplineInvestigates");
migrationBuilder.DropColumn(
name: "Child4DnaId",
table: "DisciplineInvestigates");
migrationBuilder.DropColumn(
name: "Child1DnaId",
table: "DisciplineDisciplinarys");
migrationBuilder.DropColumn(
name: "Child2DnaId",
table: "DisciplineDisciplinarys");
migrationBuilder.DropColumn(
name: "Child3DnaId",
table: "DisciplineDisciplinarys");
migrationBuilder.DropColumn(
name: "Child4DnaId",
table: "DisciplineDisciplinarys");
migrationBuilder.DropColumn(
name: "Child1DnaId",
table: "DisciplineComplaints");
migrationBuilder.DropColumn(
name: "Child2DnaId",
table: "DisciplineComplaints");
migrationBuilder.DropColumn(
name: "Child3DnaId",
table: "DisciplineComplaints");
migrationBuilder.DropColumn(
name: "Child4DnaId",
table: "DisciplineComplaints");
}
}
}