activerecord-cockroachdb-adapter 6.1.9 → 6.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/active_record/connection_adapters/cockroachdb_adapter.rb +4 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72a654c4b06b42fbaae48bc9610420b2103f38b72d4170b7ae59983860d6e9d6
|
|
4
|
+
data.tar.gz: fb400dec89ffb39d202a081ff09a34330a498e3e9ce4363433d55de255a0288a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f39c8a1fb5da46833e2ebb25a7224fd4c7d6bf1b71649d06550e60bd00e6dc084ef6675d9314995a002a507aa3e382efb7947fdc951221612fbc12b730b95fed
|
|
7
|
+
data.tar.gz: b133873824c59d673b9aed7a8cb45933aa7298bf9b5dc533240e9e43e99820ab1abe0be09874a9d0f5b6f7ce599441b7c1e462ecc83754f0de87dab9ca8ce50b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.1.10 - 2022-05-06
|
|
4
|
+
|
|
5
|
+
- Disable supports_expression_index regardless of CockroachDB version until
|
|
6
|
+
`ON CONFLICT expression` is supported.
|
|
7
|
+
|
|
8
|
+
See https://github.com/cockroachdb/cockroach/issues/67893.
|
|
9
|
+
|
|
3
10
|
## 6.1.9 - 2022-04-26
|
|
4
11
|
|
|
5
12
|
- Fix bug where duplicate `rowid` columns would be created when loading
|
|
@@ -181,7 +181,10 @@ module ActiveRecord
|
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
def supports_expression_index?
|
|
184
|
-
|
|
184
|
+
# Expression indexes are partially supported by CockroachDB v21.2,
|
|
185
|
+
# but activerecord requires "ON CONFLICT expression" support.
|
|
186
|
+
# See https://github.com/cockroachdb/cockroach/issues/67893
|
|
187
|
+
false
|
|
185
188
|
end
|
|
186
189
|
|
|
187
190
|
def supports_datetime_with_precision?
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-cockroachdb-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.1.
|
|
4
|
+
version: 6.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cockroach Labs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|