Skip to content

microblink/activerecord7-redshift-adapter

 
 

Repository files navigation

activerecord7-redshift-adapter

Amazon Redshift adapter for ActiveRecord 7 (Rails 7). I forked the project from https://github.com/kwent/activerecord6-redshift-adapter

Thanks for the auhors.

Usage

For Rails 7, write following in Gemfile:

gem 'activerecord7-redshift-adapter'

In database.yml

development:
  adapter: redshift
  host: host
  port: port
  database: db
  username: user
  password: password
  encoding: utf8

OR your can use in URL

class SomeModel < ApplicationRecord
  establish_connection('redshift://username:password@host/database')
end

License

MIT license (same as ActiveRecord)

About

Amazon Redshift adapter for ActiveRecord 7 (Rails 7). I forked the project from https://github.com/kwent/activerecord6-redshift-adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%