module Capistrano::DBSync::Postgres

Public Class Methods

validate!(config) click to toggle source
# 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