1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

don't test schema where hstore not installed

This commit is contained in:
Joel 2012-02-05 11:58:14 -08:00
parent 102ef98d32
commit 2967aecdaf

View file

@ -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 (