We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a1ca9 commit 1d1d7f2Copy full SHA for 1d1d7f2
lib/arjdbc/postgresql/adapter.rb
@@ -915,15 +915,6 @@ def initialize(...)
915
self.class.type_cast_config_to_boolean(@config[:insert_returning]) : true
916
end
917
918
- def self.database_exists?(config)
919
- conn = ActiveRecord::Base.postgresql_connection(config)
920
- conn && conn.really_valid?
921
- rescue ActiveRecord::NoDatabaseError
922
- false
923
- ensure
924
- conn.disconnect! if conn
925
- end
926
-
927
require 'active_record/connection_adapters/postgresql/schema_definitions'
928
929
ColumnMethods = ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods
0 commit comments