From a899549ba249d4ce1b6de8e0a043ef8b2ce2e416 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 23 Jul 2016 12:43:38 +0900 Subject: remove needless warning for hstore Rails 5 supports only Postgresql 9.1 or higher, warning is needless because in the case of Postgresql 9.0 or less does not work. --- activerecord/Rakefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activerecord/Rakefile') diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 543ab2eaba..cb100a87d8 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -111,11 +111,6 @@ namespace :db do config = ARTest.config["connections"]["postgresql"] %x( createdb -E UTF8 -T template0 #{config["arunit"]["database"]} ) %x( createdb -E UTF8 -T template0 #{config["arunit2"]["database"]} ) - - # prepare hstore - if %x( createdb --version ).strip.gsub(/(.*)(\d\.\d\.\d)$/, "\\2") < "9.1.0" - puts "Please prepare hstore data type. See http://www.postgresql.org/docs/current/static/hstore.html" - end end desc "Drop the PostgreSQL test databases" -- cgit v1.2.3