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

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

Overview

PostgreSQL database management service

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



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

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