Class: Masamune::Tasks::PostgresThor
- Inherits:
-
Masamune::Thor
- Object
- Masamune::Thor
- Masamune::Tasks::PostgresThor
- Includes:
- Actions::Postgres, Masamune::Thor
- Defined in:
- lib/masamune/tasks/postgres_thor.rb
Constant Summary
Constants included from Masamune::Thor
Masamune::Thor::SYSTEM_CONFIG_FILES
Constants included from AfterInitializeCallbacks
AfterInitializeCallbacks::PRIORITY
Instance Method Summary collapse
Methods included from Actions::Postgres
#create_postgres_database_if_not_exists, #load_postgres_schema, #load_postgres_setup_files, #postgres
Methods included from Masamune::Transform::DefineSchema
Methods included from Masamune::Transform::DefineTable
Methods included from Actions::PostgresAdmin
Methods included from AfterInitializeCallbacks
Methods included from HasEnvironment
Instance Method Details
#psql_exec ⇒ Object
42 43 44 45 46 47 |
# File 'lib/masamune/tasks/postgres_thor.rb', line 42 def psql_exec = .dup.with_indifferent_access [:print] = true [:max_retries] = 0 unless [:retry] postgres() end |