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:
parent
102ef98d32
commit
2967aecdaf
1 changed files with 2 additions and 0 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue