You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20221107150428_AdAttributesNameChanged.cs 1003B

1234567891011121314151617181920212223242526272829303132333435
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Diligent.WebAPI.Data.Migrations
  4. {
  5. public partial class AdAttributesNameChanged : Migration
  6. {
  7. protected override void Up(MigrationBuilder migrationBuilder)
  8. {
  9. migrationBuilder.RenameColumn(
  10. name: "MainLiabilities",
  11. table: "Ads",
  12. newName: "Requirements");
  13. migrationBuilder.RenameColumn(
  14. name: "Conditions",
  15. table: "Ads",
  16. newName: "KeyResponsibilities");
  17. }
  18. protected override void Down(MigrationBuilder migrationBuilder)
  19. {
  20. migrationBuilder.RenameColumn(
  21. name: "Requirements",
  22. table: "Ads",
  23. newName: "MainLiabilities");
  24. migrationBuilder.RenameColumn(
  25. name: "KeyResponsibilities",
  26. table: "Ads",
  27. newName: "Conditions");
  28. }
  29. }
  30. }