def after_connect(search_path)
      Proc.new do |conn|
        search_path.split(',').map(&:strip).each do |schema|
          conn.execute("CREATE SCHEMA IF NOT EXISTS #{schema}")
        end
        conn.execute("SET search_path TO #{search_path}")
      end
    end
def after_connect(search_path)
      Proc.new do |conn|
        search_path.split(',').map(&:strip).each do |schema|
          conn.execute("CREATE SCHEMA IF NOT EXISTS #{schema}")
        end
        conn.execute("SET search_path TO #{search_path}")
      end
    end
Returns a proc that should be executed after Sequel connects to the
 datebase.

 Right now, the only thing that happens is if we're connecting to
 PostgreSQL and the schema_search_path is defined, each schema
 is created if it doesn't exist, then the search_path is set for
 the connection.