jonatas / timescaledb

The timescaledb gem. Pack of helpers to work with TimescaleDB extension in Ruby.
https://jonatas.github.io/timescaledb/
MIT License
61 stars 18 forks source link

reset logger to original after `MigrationHelpers#create_hypertable` #52

Closed netrusov closed 1 year ago

netrusov commented 1 year ago

right now all queries executed after the create_hypertable will be printed to the STDOUT and sometimes there's a lot of them

this PR fixes behavior by resetting the logger to the original one, so only execute statements from create_hypertable will be printed to the STDOUT