Skip to content

MichalZaporski/pg_connections_terminate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PgConnectionsTerminate

This gem adds a new rake task which terminates all the connections with the Rails app database. Database is selected based on the config/database.yml and the RAILS_ENV.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add pg_connections_terminate

Usage

Run like any other Rails rake task:

$ bundle exec bin/rails db:connections:terminate RAILS_ENV=test

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MichalZaporski/pg_connections_terminate.

About

Rake task for terminating postgresql connections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages