Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Small fix for rake tasks when using PostgreSQL #43

Open
wants to merge 2 commits into
base: release-1.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/dm-rails/storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def collation
class Postgres < Storage
def _create
system(
{'PGPASSWORD' => password},
'createdb',
'-E',
charset,
Expand All @@ -197,6 +198,7 @@ def _create

def _drop
system(
{'PGPASSWORD' => password},
'dropdb',
'-U',
username,
Expand Down