ctran/annotate_models

Rails 7 - datetime column comments are being converted into timestamptz

Opened this issue · 0 comments

kapso commented

In Rails 7, datetime column comments are being converted into timestamptz. Is this expected behavior?

Important to note that timestamptz is the underlying PostgreSQL table column, that we are using. But in Rails 6, annotate documents them as datetime

Screen Shot 2022-02-15 at 12 58 19 PM

Commands

$ rails db:migrate

Version

  • Annotate 3.2.0
  • Rails 7.0.2.2
  • Ruby 3.1
  • PostgreSQL 14.1