Fix activerecord 6.1.4 compatibility issue with postgresql cte
This commit is contained in:
parent
6967805d17
commit
35424cbf81
2 changed files with 16 additions and 0 deletions
15
debian/patches/0810-postgresql-cte-rails-6-1-4.patch
vendored
Normal file
15
debian/patches/0810-postgresql-cte-rails-6-1-4.patch
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
Add support for activerecord 6.1.4 using a cherry picked patch
|
||||
|
||||
Forwarded: https://github.com/kmurph73/ctes_in_my_pg/commit/eabb5508df56b5dc838547655542a272511af424
|
||||
|
||||
--- a/config/initializers/postgresql_cte.rb
|
||||
+++ b/config/initializers/postgresql_cte.rb
|
||||
@@ -96,7 +96,7 @@
|
||||
end
|
||||
end
|
||||
|
||||
- def build_arel(aliases)
|
||||
+ def build_arel(aliases = nil)
|
||||
arel = super
|
||||
|
||||
build_with(arel) if @values[:with]
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -30,3 +30,4 @@
|
|||
0750-fix-relative-paths.patch
|
||||
0770-remove-capybara-screenshot-rspec.patch
|
||||
0800-search-binaries-in-path.patch
|
||||
0810-postgresql-cte-rails-6-1-4.patch
|
||||
|
|
Loading…
Reference in a new issue