Module: Capistrano::DBSync::Postgres
- Defined in:
- lib/capistrano/db_sync/postgres.rb
Defined Under Namespace
Classes: CLI, Exporter, FileNameGenerator, Importer
Class Method Summary collapse
Class Method Details
.validate!(config) ⇒ Object
3 4 5 6 7 |
# File 'lib/capistrano/db_sync/postgres.rb', line 3 def self.validate!(config) unless %w(postgresql pg).include? config['adapter'] raise NotImplementedError, "Database adapter #{config['adapter']} is not supported" end end |