trilogy-libraries / activerecord-trilogy-adapter

Active Record adapter for the Trilogy database client for Rails v6.0 - v7.0.
https://github.com/trilogy-libraries/trilogy
MIT License
167 stars 16 forks source link

Implement #high_precision_current_timestamp #36

Closed adrianna-chang-shopify closed 1 year ago

adrianna-chang-shopify commented 1 year ago

See https://github.com/rails/rails/pull/42993.

This will ensure that full SQL precision is used when updating timestamps via #insert_all / #update_all.

adrianna-chang-shopify commented 1 year ago

cc @eileencodes -- this fixes the difference we noticed in timestamp precision on that test 😄