diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-20 00:40:34 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-20 00:40:34 +0000 |
commit | 921752c7d594850e3d4a6d5c72459310fdf5d0f6 (patch) | |
tree | bc4888f81bd55dc326fd9bac8412cb31eedff841 /activerecord/Rakefile | |
parent | ab45bd487a935ae9558e814ca06b1e4e71ba554a (diff) | |
download | rails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.tar.gz rails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.tar.bz2 rails-921752c7d594850e3d4a6d5c72459310fdf5d0f6.zip |
Remove reference to 'postgres' user in the connection and Rakefiles. Allows postgres permissions to fallback to host / ident based auth.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-x | activerecord/Rakefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 3feee4d6d7..3c5ba6c285 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -69,16 +69,16 @@ task :rebuild_mysql_databases => 'mysql:rebuild_databases' namespace :postgresql do desc 'Build the PostgreSQL test databases' task :build_databases do - %x( createdb -U postgres activerecord_unittest ) - %x( createdb -U postgres activerecord_unittest2 ) - %x( psql activerecord_unittest -f #{File.join(SCHEMA_ROOT, 'postgresql.sql')} postgres ) - %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_ROOT, 'postgresql2.sql')} postgres ) + %x( createdb activerecord_unittest ) + %x( createdb activerecord_unittest2 ) + %x( psql activerecord_unittest -f #{File.join(SCHEMA_ROOT, 'postgresql.sql')} ) + %x( psql activerecord_unittest2 -f #{File.join(SCHEMA_ROOT, 'postgresql2.sql')} ) end desc 'Drop the PostgreSQL test databases' task :drop_databases do - %x( dropdb -U postgres activerecord_unittest ) - %x( dropdb -U postgres activerecord_unittest2 ) + %x( dropdb activerecord_unittest ) + %x( dropdb activerecord_unittest2 ) end desc 'Rebuild the PostgreSQL test databases' |