Class: Stable::Services::Database::Postgres

Inherits:
Base
  • Object
show all
Defined in:
lib/stable/services/database/postgres.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #prepare

Constructor Details

This class inherits a constructor from Stable::Services::Database::Base

Instance Method Details

#setupObject



7
8
9
10
# File 'lib/stable/services/database/postgres.rb', line 7

def setup
  System::Shell.run("createdb #{@database_name}")
  prepare
end