20220510062109_agvtask新增货物数量.cs 693 B

1234567891011121314151617181920212223242526
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace WCS.Service.Migrations
  4. {
  5. public partial class agvtask新增货物数量 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AddColumn<int>(
  10. name: "Goodsnum",
  11. table: "WCS_AGVTask",
  12. type: "int",
  13. nullable: false,
  14. defaultValue: 0);
  15. }
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.DropColumn(
  19. name: "Goodsnum",
  20. table: "WCS_AGVTask");
  21. }
  22. }
  23. }