| 1234567891011121314151617181920212223242526272829303132333435 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- #nullable disable
-
- namespace Diligent.WebAPI.Data.Migrations
- {
- public partial class AdAttributesNameChanged : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.RenameColumn(
- name: "MainLiabilities",
- table: "Ads",
- newName: "Requirements");
-
- migrationBuilder.RenameColumn(
- name: "Conditions",
- table: "Ads",
- newName: "KeyResponsibilities");
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.RenameColumn(
- name: "Requirements",
- table: "Ads",
- newName: "MainLiabilities");
-
- migrationBuilder.RenameColumn(
- name: "KeyResponsibilities",
- table: "Ads",
- newName: "Conditions");
- }
- }
- }
|