cockroachdb/activerecord-cockroachdb-adapter

Name: activerecord-cockroachdb-adapter

Owner: CockroachDB

Description: CockroachDB adapter for ActiveRecord.

Created: 2017-02-14 21:12:52.0

Updated: 2018-05-11 15:11:31.0

Pushed: 2018-05-06 09:01:52.0

Homepage: null

Size: 50

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

'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:

lopment:
apter: cockroachdb
rt: 26257
st: <hostname>
er: <username>
Modifying the adapter?

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.