20231019090745_Updatetest.cs 723 B

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