Skip to content

Commit

Permalink
fix sql query to run rename functionality smoothly
Browse files Browse the repository at this point in the history
  • Loading branch information
Divs-B committed Jan 24, 2025
1 parent fe85b53 commit a176d51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/services/editions/db/CollectionsQueries.scala
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ trait CollectionsQueries extends Logging {
SET is_hidden = ${collection.isHidden},
updated_on = $lastUpdated,
updated_by = ${collection.updatedBy},
updated_email = ${collection.updatedEmail},
targeted_regions = ${collection.targetedRegionsPG()},/*TODO - need to revisit here to keep or not, once we are happy with "updateCollectionTargettedRegions" method then we can check here. also need to do for "excludedRegions" as well hence not removing from here */
excluded_regions = ${collection.excludedRegionsPG()},
updated_email = ${collection.updatedEmail}
WHERE id = ${collection.id}
""".execute.apply()

Expand Down

0 comments on commit a176d51

Please sign in to comment.