Skip to content

Commit

Permalink
Merge branch 'feat/DEX-2706/postgis' into 'master'
Browse files Browse the repository at this point in the history
[DEX-2706] fix: support postgis database type when deleting stale items

Closes DEX-2706

See merge request nstmrt/rubygems/outbox!106
  • Loading branch information
Меркушин Михаил Сергеевич committed Oct 29, 2024
2 parents 91ab1ae + 91311f4 commit f20958d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

## [6.10.4] - 2024-10-29

### Fixed

- fix deleting stale items from Postgis

## [6.10.3] - 2024-10-22

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/sbmt/outbox/base_delete_stale_items_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def mysql_delete_in_batches(waterline)
def database_type
adapter_name = item_class.connection.adapter_name.downcase
case adapter_name
when "postgresql"
when "postgresql", "postgis"
:postgresql
when "mysql2"
:mysql
Expand Down
2 changes: 1 addition & 1 deletion lib/sbmt/outbox/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Sbmt
module Outbox
VERSION = "6.10.3"
VERSION = "6.10.4"
end
end

0 comments on commit f20958d

Please sign in to comment.