20231019090908_RemoveUpdatetest.cs 729 B

12345678910111213141516171819202122232425262728
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace EVCB_OCPP.Domain.Migrations
  4. {
  5. /// <inheritdoc />
  6. public partial class RemoveUpdatetest : Migration
  7. {
  8. /// <inheritdoc />
  9. protected override void Up(MigrationBuilder migrationBuilder)
  10. {
  11. migrationBuilder.DropColumn(
  12. name: "Name",
  13. table: "Machine");
  14. }
  15. /// <inheritdoc />
  16. protected override void Down(MigrationBuilder migrationBuilder)
  17. {
  18. migrationBuilder.AddColumn<string>(
  19. name: "Name",
  20. table: "Machine",
  21. type: "nvarchar(max)",
  22. nullable: true);
  23. }
  24. }
  25. }