code0-tech / sagittarius

The orchestrating backend for the Code0 application
4 stars 0 forks source link

Rubocop Sagittarius/Migration/Datetime autocorrect not working with add_column #232

Open Taucher2003 opened 2 months ago

Taucher2003 commented 2 months ago

When a migration uses add_column :table, :column, :datetime, the autocorrection of the Sagittarius/Migration/Datetime cop changes the line to datetime_with_timezone. Correct would be add_column :table, :column, :datetime_with_timezone.