diff options
author | Joel <joel@renewfund.com> | 2012-02-05 11:58:14 -0800 |
---|---|---|
committer | Joel <joel@renewfund.com> | 2012-02-08 22:28:51 -0800 |
commit | 2967aecdafb821bafc67745c75f4e95bcc273a49 (patch) | |
tree | 1ca49aa0f8033ae3eedf99f3cadd13e664c0d3e3 /activerecord | |
parent | 102ef98d32a40e1c7a7526d1d0d3165885315f1c (diff) | |
download | rails-2967aecdafb821bafc67745c75f4e95bcc273a49.tar.gz rails-2967aecdafb821bafc67745c75f4e95bcc273a49.tar.bz2 rails-2967aecdafb821bafc67745c75f4e95bcc273a49.zip |
don't test schema where hstore not installed
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/schema/postgresql_specific_schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/postgresql_specific_schema.rb b/activerecord/test/schema/postgresql_specific_schema.rb index a2e5724167..25b416a906 100644 --- a/activerecord/test/schema/postgresql_specific_schema.rb +++ b/activerecord/test/schema/postgresql_specific_schema.rb @@ -63,12 +63,14 @@ _SQL ); _SQL + if 't' == select_value("select 'hstore'=ANY(select typname from pg_type)") execute <<_SQL CREATE TABLE postgresql_hstores ( id SERIAL PRIMARY KEY, hash_store hstore default ''::hstore ); _SQL + end execute <<_SQL CREATE TABLE postgresql_moneys ( |