Method: Masamune::Actions::Postgres#load_postgres_setup_files

Defined in:
lib/masamune/actions/postgres.rb

#load_postgres_setup_filesObject



50
51
52
53
54
55
56
57
# File 'lib/masamune/actions/postgres.rb', line 50

def load_postgres_setup_files
  return unless configuration.commands.postgres.key?(:setup_files)
  configuration.commands.postgres[:setup_files].each do |file|
    configuration.with_quiet do
      postgres(file: file, max_retries: 0)
    end
  end
end