Correctly establish connection in truncate and simplify method
We want to call establish connection, not `connected_to` with a database
key for truncate. Then we simplified the method by pushing the removed
tables into truncate.
This also removes an instance of unnecessarily calling
`configuration_hash` when we already have a `db_config` to pass around.
Co-authored-by: Neileencodes <eileencodes@gmail.com>
Showing
想要评论请 注册 或 登录