forked from christophermanning/activerecord-redshift-adapter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
34 lines (26 loc) · 730 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
activerecord-redshift-adapter
=============================
adapter for aws redshift for rails 3
ripped from rails 3 postgresql -- deleted code until it worked
barely tested (I'm working on a project that needs this -- this works as much as I need to get the project moving)
good luck
example database.yml
====================
common: &common
adapter: postgresql
username: postgres
encoding: SQL_ASCII
template: template0
pool: 5
timeout: 5000
redshiftdb: &redshiftdb
adapter: redshift
host: clustername.something.us-east-1.redshift.amazonaws.com
database: databasename
port: 5439
username: username
password: password
redshift_development:
<<: *common
<<: *redshiftdb
database: databasename