SyntaxFix
Write A Post
Hire A Developer
Questions
There's a change_column method, just execute it in your migration with datetime as a new type.
change_column(:my_table, :my_column, :my_new_type)