activerecord-cockroachdb-adapter
activerecord-cockroachdb-adapter copied to clipboard
sequences are not being created by ActiveRecord with cockroachdb adapter
As noted here, http://www.thekidds.org/blog/2012/07/27/active-record-postgres-and-sequence-naming/, when rails generates a model with Postgres, it creates a sequence.
I am not finding that behavior to carryover into using the CockroachDB adapter. Is there something where it has to coordinate with Active Record in a specific way?
(Yes, I know we should be using UUIDs, etc., but I'm looking at how we migrate existing Rails projects that use MySQL, and I'd rather be on CockroachDB first, then fix that problem.)