20210729062812_7-29-1.cs 975 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace WCS.Service.Migrations
  3. {
  4. public partial class _7291 : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AddColumn<int>(
  9. name: "DOCID",
  10. table: "WCS_TASK",
  11. type: "int",
  12. nullable: false,
  13. defaultValue: 0);
  14. migrationBuilder.AddColumn<int>(
  15. name: "DocId",
  16. table: "WCS_RobotStation",
  17. type: "int",
  18. nullable: false,
  19. defaultValue: 0);
  20. }
  21. protected override void Down(MigrationBuilder migrationBuilder)
  22. {
  23. migrationBuilder.DropColumn(
  24. name: "DOCID",
  25. table: "WCS_TASK");
  26. migrationBuilder.DropColumn(
  27. name: "DocId",
  28. table: "WCS_RobotStation");
  29. }
  30. }
  31. }