12345678910111213141516171819202122232425262728293031323334 |
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace WCS.Service.Migrations
- {
- public partial class _21041402 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<string>(
- name: "Model",
- table: "WCS_PLC",
- type: "nvarchar(10)",
- maxLength: 10,
- nullable: true);
- migrationBuilder.AddColumn<int>(
- name: "Type",
- table: "WCS_PLC",
- type: "int",
- nullable: true);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Model",
- table: "WCS_PLC");
- migrationBuilder.DropColumn(
- name: "Type",
- table: "WCS_PLC");
- }
- }
- }
|