12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace WCS.Service.Migrations
- {
- public partial class _10131 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "RES",
- table: "WCS_STATION523");
- migrationBuilder.AlterColumn<long>(
- name: "Fault",
- table: "WCS_STATION523",
- type: "bigint",
- nullable: false,
- oldClrType: typeof(int),
- oldType: "int");
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<int>(
- name: "Fault",
- table: "WCS_STATION523",
- type: "int",
- nullable: false,
- oldClrType: typeof(long),
- oldType: "bigint");
- migrationBuilder.AddColumn<short>(
- name: "RES",
- table: "WCS_STATION523",
- type: "smallint",
- nullable: false,
- defaultValue: (short)0);
- }
- }
- }
|