diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-07-23 12:43:38 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-08-15 08:45:35 +0900 |
commit | a899549ba249d4ce1b6de8e0a043ef8b2ce2e416 (patch) | |
tree | 63c93982aae684f50dd2b405c62e1a4546aa11a5 /activerecord | |
parent | fb99a48b063c337317aaf20fe50a02519f553265 (diff) | |
download | rails-a899549ba249d4ce1b6de8e0a043ef8b2ce2e416.tar.gz rails-a899549ba249d4ce1b6de8e0a043ef8b2ce2e416.tar.bz2 rails-a899549ba249d4ce1b6de8e0a043ef8b2ce2e416.zip |
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.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/Rakefile | 5 |
1 files changed, 0 insertions, 5 deletions
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" |