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:
parent
51b6670a19
commit
ce425e41bf
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue