Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 466 Bytes
http://wiki.rubyonrails.com/rails/pages/UsingMigrations
valid data types:
:integer :float
:datetime :date :timestamp :time
:text :string
:binary
:boolean
options:
:null (boolean)
:limit (integer)
:default
:precision (integer)
:scale (integer)
create the model ./script/generate model model_name
apply schema changes rake db:migrate
modify schema ./script generate migration description_name
Something went wrong with that request. Please try again.