123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace WCS.Service.Migrations
- {
- public partial class _13 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Finish_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "Finish_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "PH_Status_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "PH_Status_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES3_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES3_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES4_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES4_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES5_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES5_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES6_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES6_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES7_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "RES7_2",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "ToSition_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "ToSition_2",
- table: "WCS_RGV521");
- migrationBuilder.AddColumn<int>(
- name: "Status_1",
- table: "WCS_RGV521",
- type: "int",
- nullable: false,
- defaultValue: 0);
- migrationBuilder.AddColumn<int>(
- name: "Status_2",
- table: "WCS_RGV521",
- type: "int",
- nullable: false,
- defaultValue: 0);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Status_1",
- table: "WCS_RGV521");
- migrationBuilder.DropColumn(
- name: "Status_2",
- table: "WCS_RGV521");
- migrationBuilder.AddColumn<bool>(
- name: "Finish_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "Finish_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "PH_Status_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "PH_Status_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES3_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES3_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES4_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES4_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES5_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES5_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES6_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES6_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES7_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "RES7_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "ToSition_1",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- migrationBuilder.AddColumn<bool>(
- name: "ToSition_2",
- table: "WCS_RGV521",
- type: "bit",
- nullable: false,
- defaultValue: false);
- }
- }
- }
|