Skip to content
This repository has been archived by the owner on Jul 5, 2019. It is now read-only.

HeavyCookie/activerecord-cockroachdb-adapter

 
 

Repository files navigation

ActiveRecord CockroachDB Adapter

CockroachDB adapter for ActiveRecord 4 and 5. This is a lightweight extension of the PostgreSQL adapter that establishes compatibility with CockroachDB.

Installation

Add this line to your project's Gemfile:

gem 'activerecord-cockroachdb-adapter', '~> 0.2.2'

If you're using Rails 4.x, use the 0.1.x versions of this gem.

In database.yml, use the following adapter setting:

development:
  adapter: cockroachdb
  port: 26257
  host: <hostname>
  user: <username>

Modifying the adapter?

See CONTRIBUTING.md for more details on setting up the environment and making modifications.

About

CockroachDB adapter for ActiveRecord.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 76.5%
  • Shell 23.5%