Skip to content

Commit

Permalink
feat: fix migration
Browse files Browse the repository at this point in the history
Refs: #468
  • Loading branch information
Phil91 committed Feb 13, 2024
1 parent e9ba6bd commit a97a7b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public partial class CPLP468certificateupdate : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("UPDATE company_certificates SET company_certificate_type_status_id = 1 where company_certificate_type_status_id = 2");
migrationBuilder.Sql("UPDATE portal.company_certificates SET company_certificate_status_id = 1 where company_certificate_status_id = 2");
migrationBuilder.Sql("UPDATE portal.company_certificates SET company_certificate_status_id = 2 where company_certificate_status_id = 3");

migrationBuilder.DeleteData(
schema: "portal",
Expand Down

0 comments on commit a97a7b6

Please sign in to comment.