Permalink
Browse files

Make build_postgresql_databases task make databases owned by the post…

…gres user. Closes #4790. [mlaster@metavillage.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9a5b91a commit 7a01561a6e2ac7e5ab0117d5099a7040a9324202 Marcel Molina committed Apr 25, 2006
Showing with 4 additions and 3 deletions.
  1. +1 −0 activerecord/CHANGELOG
  2. +3 −3 activerecord/Rakefile
View
@@ -1,5 +1,6 @@
*SVN*
+* Make build_postgresql_databases task make databases owned by the postgres user. Closes #4790. [mlaster@metavillage.com]
* Sybase Adapter type conversion cleanup. Closes #4736. [dev@metacasa.net]
* Fix bug where calculations with long alias names return null. [Rick]
View
@@ -58,8 +58,8 @@ desc 'Build the PostgreSQL test databases'
task :build_postgresql_databases do
%x( createdb activerecord_unittest )
%x( createdb activerecord_unittest2 )
- %x( psql activerecord_unittest -f #{File.join(SCHEMA_PATH, 'postgresql.sql')} )
- %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_PATH, 'postgresql2.sql')} )
+ %x( psql activerecord_unittest -f #{File.join(SCHEMA_PATH, 'postgresql.sql')} postgres )
+ %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_PATH, 'postgresql2.sql')} postgres )
end
desc 'Drop the PostgreSQL test databases'
@@ -178,4 +178,4 @@ task :release => [ :package ] do
puts release_command
system(release_command)
end
-end
+end

0 comments on commit 7a01561

Please sign in to comment.