Permalink
Browse files

Specify schema with table in dump.

  • Loading branch information...
1 parent 64e86b1 commit 8176af7aef4f45d44b7cd68aec2c1235a33a47f0 @wayneeseguin committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/psql-cm/dump.rb
View
2 lib/psql-cm/dump.rb
@@ -15,7 +15,7 @@ def dump!
cm_file = File.join(sql_path,database,"#{schema}.sql")
sh %W[ pg_dump #{db(database).psql_args} --no-privileges --no-owner
- --schema=#{schema} --file=#{cm_file} --table=#{config.cm_table}
+ --schema=#{schema} --file=#{cm_file} --table=#{schema}.#{config.cm_table}
#{database} ].join(' ')
end
end

0 comments on commit 8176af7

Please sign in to comment.