Class: Brillo::Adapter::Postgres
- Defined in:
- lib/brillo/adapter/postgres.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#dump_structure_and_migrations, #footer, #header, #initialize
Constructor Details
This class inherits a constructor from Brillo::Adapter::Base
Instance Method Details
#load_command ⇒ Object
4 5 6 |
# File 'lib/brillo/adapter/postgres.rb', line 4 def load_command "psql --host #{config[:host]} -U #{config[:username]} #{config[:password] ? "-W#{config[:password]}" : ""} #{config[:database]}" end |