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

Reconnect after possibly enabling hstore

This commit is contained in:
Matthew Draper 2014-06-18 14:45:10 +09:30
parent 51b6670a19
commit ce425e41bf

View file

@ -17,6 +17,8 @@ class PostgresqlArrayTest < ActiveRecord::TestCase
@connection.commit_db_transaction
end
@connection.reconnect!
@connection.transaction do
@connection.create_table('pg_arrays') do |t|
t.string 'tags', array: true