Class: CreateInfos
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateInfos
- Defined in:
- lib/teststuff/db/migrate/20130607120716_create_infos.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/teststuff/db/migrate/20130607120716_create_infos.rb', line 2 def change create_table :infos do |t| t.integer :wage t.string :wife t. end end |