activerecord-cockroachdb-adapter
activerecord-cockroachdb-adapter copied to clipboard
CockroachDB adapter for ActiveRecord.
Hallo, I have not much informations, but maybe you see something I miss. We have a transaction where we save 7 objects in different tables. On our staging/production system sometimes...
Hello, it is not possible to remove an index with rails commands, when there are two indexes in different tables with the same name. `remove_index :foo, name: :bar_index` Then the...
I can't create a hash index using: ```ruby add_index( :users, :username, using: "hash", algorithm: :concurrently, if_not_exists: true ) ``` Which prints this error: ``` ActiveRecord::StatementInvalid: PG::FeatureNotSupported: ERROR: at or near...
There seems to be a fundamental difference between PostgreSQL implementation of `pg_constraint` vs CockroachDB's implementation. When ActiveRecord queries this table [here](https://github.com/rails/rails/blob/6f57590388ca38ed2b83bc1207a8be13a9ba2aef/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L654-L662), Postgres returns an empty array while CockroachDB returns list...
When using regional by row tables, `crdb_region` shows up in the schema file and it also has the development database name in the primary region definition. For example: ```ruby t.enum...
Hello, is there a roadmap to add support for Rails 7.2 soon?
Currently, if you create a hash sharded index on a table then the active records model will contain crdb_internal shard column inside it. We should in general filter out any...