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
1 changed files with 2 additions and 0 deletions

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 (