Skip to content

Commit

Permalink
Merge pull request #45715 from simi/postgresql-test-collation
Browse files Browse the repository at this point in the history
Set collation for postgresql test DBs.
  • Loading branch information
yahonda committed Jul 31, 2022
2 parents a01d6f8 + 4f4dd2e commit 0098f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ namespace :db do
desc "Build the PostgreSQL test databases"
task :build do
config = ARTest.config["connections"]["postgresql"]
%x( createdb -E UTF8 -T template0 #{config["arunit"]["database"]} )
%x( createdb -E UTF8 -T template0 #{config["arunit2"]["database"]} )
%x( createdb -E UTF8 -T template0 #{config["arunit"]["database"]} --lc-collate en_US.UTF-8 )
%x( createdb -E UTF8 -T template0 #{config["arunit2"]["database"]} --lc-collate en_US.UTF-8 )
end

desc "Drop the PostgreSQL test databases"
Expand Down

0 comments on commit 0098f55

Please sign in to comment.