12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace WCS.Service.Migrations
- {
- public partial class _781 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "TYPE",
- table: "WCS_DEVICE");
- migrationBuilder.RenameColumn(
- name: "Startnumber1",
- table: "WCS_SC521",
- newName: "Tunnel");
- migrationBuilder.AddColumn<short>(
- name: "FinishedACK",
- table: "WCS_SC520",
- type: "smallint",
- nullable: false,
- defaultValue: (short)0);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "FinishedACK",
- table: "WCS_SC520");
- migrationBuilder.RenameColumn(
- name: "Tunnel",
- table: "WCS_SC521",
- newName: "Startnumber1");
- migrationBuilder.AddColumn<string>(
- name: "TYPE",
- table: "WCS_DEVICE",
- type: "nvarchar(100)",
- maxLength: 100,
- nullable: false,
- defaultValue: "");
- }
- }
- }
|