Skip to content

Commit 4f4dd2e

Browse files
committed
Set collation for postgresql test DBs.
1 parent a01d6f8 commit 4f4dd2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ namespace :db do
239239
desc "Build the PostgreSQL test databases"
240240
task :build do
241241
config = ARTest.config["connections"]["postgresql"]
242-
%x( createdb -E UTF8 -T template0 #{config["arunit"]["database"]} )
243-
%x( createdb -E UTF8 -T template0 #{config["arunit2"]["database"]} )
242+
%x( createdb -E UTF8 -T template0 #{config["arunit"]["database"]} --lc-collate en_US.UTF-8 )
243+
%x( createdb -E UTF8 -T template0 #{config["arunit2"]["database"]} --lc-collate en_US.UTF-8 )
244244
end
245245

246246
desc "Drop the PostgreSQL test databases"

0 commit comments

Comments
 (0)