Skip to content

Commit

Permalink
Also --no-privileges when dumping (should be handled separately).
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Apr 23, 2012
1 parent 5fae347 commit 829812c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/psql-cm/dump.rb
Expand Up @@ -14,9 +14,9 @@ def dump!

cm_file = File.join(sql_path,database,"#{schema}.sql")

sh %W[ pg_dump #{db(database).psql_args}
--no-owner --schema=#{schema} --file=#{cm_file} --table=#{config.cm_table}
#{database} ].join(' ')
sh %W[ pg_dump #{db(database).psql_args} --no-privileges --no-owner
--schema=#{schema} --file=#{cm_file} --table=#{config.cm_table}
#{database} ].join(' ')
end
end

Expand Down

0 comments on commit 829812c

Please sign in to comment.