20210705080431_7-5-.cs 857 B

1234567891011121314151617181920212223242526272829
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace WCS.Service.Migrations
  3. {
  4. public partial class _75 : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AlterColumn<int>(
  9. name: "GOODSCODE",
  10. table: "WCS_STATION520",
  11. type: "int",
  12. nullable: false,
  13. oldClrType: typeof(short),
  14. oldType: "smallint");
  15. }
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.AlterColumn<short>(
  19. name: "GOODSCODE",
  20. table: "WCS_STATION520",
  21. type: "smallint",
  22. nullable: false,
  23. oldClrType: typeof(int),
  24. oldType: "int");
  25. }
  26. }
  27. }