Permalink
Browse files

don't test schema where hstore not installed

  • Loading branch information...
1 parent 102ef98 commit 2967aecdafb821bafc67745c75f4e95bcc273a49 Joel committed Feb 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 activerecord/test/schema/postgresql_specific_schema.rb
@@ -63,12 +63,14 @@
);
_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 (

0 comments on commit 2967aec

Please sign in to comment.