diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:32:03 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-10 17:32:03 +0000 |
commit | 1ee780b3bb0037cb4c9a0dd5288a4ae92dcf54c3 (patch) | |
tree | b8be42a5ae29f44652bc43393f4d75c87ca421b8 /railties/fresh_rakefile | |
parent | 5cd815addfe88e7a1f886b9722963d24343db4ed (diff) | |
download | rails-1ee780b3bb0037cb4c9a0dd5288a4ae92dcf54c3.tar.gz rails-1ee780b3bb0037cb4c9a0dd5288a4ae92dcf54c3.tar.bz2 rails-1ee780b3bb0037cb4c9a0dd5288a4ae92dcf54c3.zip |
Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/fresh_rakefile')
-rwxr-xr-x | railties/fresh_rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index 6f3cc61ae5..b6991bf076 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -151,7 +151,7 @@ task :db_structure_dump => :environment do ENV['PGHOST'] = abcs[RAILS_ENV]["host"] if abcs[RAILS_ENV]["host"] ENV['PGPORT'] = abcs[RAILS_ENV]["port"].to_s if abcs[RAILS_ENV]["port"] ENV['PGPASSWORD'] = abcs[RAILS_ENV]["password"] - `pg_dump -U "#{abcs[RAILS_ENV]["username"]}" -s -x -f db/#{RAILS_ENV}_structure.sql #{abcs[RAILS_ENV]["database"]}` + `pg_dump -U "#{abcs[RAILS_ENV]["username"]}" -s -x -O -f db/#{RAILS_ENV}_structure.sql #{abcs[RAILS_ENV]["database"]}` when "sqlite", "sqlite3" `#{abcs[RAILS_ENV]["adapter"]} #{abcs[RAILS_ENV]["dbfile"]} .schema > db/#{RAILS_ENV}_structure.sql` else |