20221110055218_202211101352.cs 943 B

12345678910111213141516171819202122232425262728293031
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. namespace ProductionLineMonitor.Web.Migrations
  3. {
  4. public partial class _202211101352 : Migration
  5. {
  6. protected override void Up(MigrationBuilder migrationBuilder)
  7. {
  8. migrationBuilder.AlterColumn<double>(
  9. name: "TT",
  10. table: "MachineStatistics",
  11. type: "REAL",
  12. nullable: true,
  13. oldClrType: typeof(int),
  14. oldType: "INTEGER",
  15. oldNullable: true);
  16. }
  17. protected override void Down(MigrationBuilder migrationBuilder)
  18. {
  19. migrationBuilder.AlterColumn<int>(
  20. name: "TT",
  21. table: "MachineStatistics",
  22. type: "INTEGER",
  23. nullable: true,
  24. oldClrType: typeof(double),
  25. oldType: "REAL",
  26. oldNullable: true);
  27. }
  28. }
  29. }