Rails Data Types List and MySQL Correspondents for ActiveRecord Migrations

Rails Migration Symbol MySQL Data Type
:binary blob
:boolean tinyint(1)
:date date
:datetime datetime
:decimal decimal
:float float
:integer int(11)
:string varchar(255)
:text text
:time time
:timestamp datetime

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer