20221005040357_倒库.cs 1009 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace WCS.Service.Migrations
  4. {
  5. public partial class 倒库 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<string>(
  10. name: "DEVICEDL",
  11. table: "WCS_TASK",
  12. type: "nvarchar(20)",
  13. maxLength: 20,
  14. nullable: true);
  15. migrationBuilder.AddColumn<string>(
  16. name: "TUNNELDL",
  17. table: "WCS_TASK",
  18. type: "nvarchar(10)",
  19. maxLength: 10,
  20. nullable: true);
  21. }
  22. protected override void Down(MigrationBuilder migrationBuilder)
  23. {
  24. migrationBuilder.DropColumn(
  25. name: "DEVICEDL",
  26. table: "WCS_TASK");
  27. migrationBuilder.DropColumn(
  28. name: "TUNNELDL",
  29. table: "WCS_TASK");
  30. }
  31. }
  32. }