Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Also --no-privileges when dumping (should be handled separately).

  • Loading branch information...
commit 829812c4a35f19491741c2298aade486bfce0872 1 parent 5fae347
@wayneeseguin authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/psql-cm/dump.rb
View
6 lib/psql-cm/dump.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.