Skip to content

Commit

Permalink
Specify schema with table in dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Apr 24, 2012
1 parent 64e86b1 commit 8176af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/psql-cm/dump.rb
Expand Up @@ -15,7 +15,7 @@ def dump!
cm_file = File.join(sql_path,database,"#{schema}.sql") cm_file = File.join(sql_path,database,"#{schema}.sql")


sh %W[ pg_dump #{db(database).psql_args} --no-privileges --no-owner 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(' ') #{database} ].join(' ')
end end
end end
Expand Down

0 comments on commit 8176af7

Please sign in to comment.