:datetime
and :timestamp
in a migration file seems like the same in MySQL and Sqlite3, and they both map to datetime
in the database side, except I can't find that in a formal documentation.
Also, what about when if our Rails project may use other DBMS, then should we use :datetime
or :timestamp
when we script/generate
(or rails generate
) our Model or Scaffold?