Skip to content

Commit

Permalink
Set collation for postgresql test DBs.
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Jul 31, 2022
1 parent a01d6f8 commit 4f4dd2e
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 4f4dd2e

Please sign in to comment.