20220501045239_14.cs 858 B

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