diff --git a/lib/tasks/kill_postgres_connections.rake b/lib/tasks/kill_postgres_connections.rake new file mode 100644 index 0000000000..3004dd8545 --- /dev/null +++ b/lib/tasks/kill_postgres_connections.rake @@ -0,0 +1,15 @@ +task :kill_postgres_connections => :environment do + db_name = Rails.configuration.database_configuration[Rails.env]['database'] + sh = < :kill_postgres_connections \ No newline at end of file