20220411061614_11.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace WCS.Service.Migrations
  4. {
  5. public partial class _11 : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.AlterColumn<int>(
  10. name: "ForkStatus_2",
  11. table: "WCS_SRM521",
  12. type: "int",
  13. nullable: false,
  14. oldClrType: typeof(long),
  15. oldType: "bigint");
  16. migrationBuilder.AlterColumn<int>(
  17. name: "ForkStatus_1",
  18. table: "WCS_SRM521",
  19. type: "int",
  20. nullable: false,
  21. oldClrType: typeof(long),
  22. oldType: "bigint");
  23. }
  24. protected override void Down(MigrationBuilder migrationBuilder)
  25. {
  26. migrationBuilder.AlterColumn<long>(
  27. name: "ForkStatus_2",
  28. table: "WCS_SRM521",
  29. type: "bigint",
  30. nullable: false,
  31. oldClrType: typeof(int),
  32. oldType: "int");
  33. migrationBuilder.AlterColumn<long>(
  34. name: "ForkStatus_1",
  35. table: "WCS_SRM521",
  36. type: "bigint",
  37. nullable: false,
  38. oldClrType: typeof(int),
  39. oldType: "int");
  40. }
  41. }
  42. }