コマンド
rails generate model model名 [カラム名:型] [カラム名:型] [カラム名:型] ...[オプション]
データ型
binary
boolean
date
datetime
decimal
float
integer
primary_key
string
text
time
timestamp
rails consoleでDBに追加するときのコマンド
DB名.create(columun:"値",columun:"値"...)
<参考にしているページ>
http://railsdoc.com/rails
http://railsdoc.com/model