diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-12-07 07:10:27 -0800 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-12-07 07:10:27 -0800 |
commit | 4f107384f02b1f122330d3e589a92a8fdd078e2e (patch) | |
tree | 8f76f46b9ddcf86ed9702ada7daec514f458e1bc /activerecord | |
parent | eb22901920d339aa4cc510a74d75455f91e6e72f (diff) | |
parent | dd647d938e7aeae9a15896672d7204867c98820f (diff) | |
download | rails-4f107384f02b1f122330d3e589a92a8fdd078e2e.tar.gz rails-4f107384f02b1f122330d3e589a92a8fdd078e2e.tar.bz2 rails-4f107384f02b1f122330d3e589a92a8fdd078e2e.zip |
Merge pull request #3894 from kelyar/master
reversible migration example
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index acf829ecd0..e53d5e7167 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -302,7 +302,7 @@ module ActiveRecord # # class TenderloveMigration < ActiveRecord::Migration # def change - # create_table(:horses) do + # create_table(:horses) do |t| # t.column :content, :text # t.column :remind_at, :datetime # end |