Open Taucher2003 opened 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.
add_column :table, :column, :datetime
Sagittarius/Migration/Datetime
datetime_with_timezone
add_column :table, :column, :datetime_with_timezone
When a migration uses
add_column :table, :column, :datetime
, the autocorrection of theSagittarius/Migration/Datetime
cop changes the line todatetime_with_timezone
. Correct would beadd_column :table, :column, :datetime_with_timezone
.