aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-10-08 03:18:18 +0000
committerMichael Koziarski <michael@koziarski.com>2007-10-08 03:18:18 +0000
commitce47db33665e8785f2812dd73384e3744499423b (patch)
tree91eef52c311bffbb119eb6c65c8413bcc41c1e66
parent210ecaecc3d5019adf9fde496ff0a1015ec23110 (diff)
downloadrails-ce47db33665e8785f2812dd73384e3744499423b.tar.gz
rails-ce47db33665e8785f2812dd73384e3744499423b.tar.bz2
rails-ce47db33665e8785f2812dd73384e3744499423b.zip
Change Migration documentation to use the new syntax. Closes #9813 [sjgman9]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activerecord/lib/active_record/migration.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index b6213f4e1d..4d099e057a 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -36,11 +36,11 @@ module ActiveRecord
# class AddSystemSettings < ActiveRecord::Migration
# def self.up
# create_table :system_settings do |t|
- # t.column :name, :string
- # t.column :label, :string
- # t.column :value, :text
- # t.column :type, :string
- # t.column :position, :integer
+ # t.string :name
+ # t.string :label
+ # t.text :value
+ # t.string :type
+ # t.integer :position
# end
#
# SystemSetting.create :name => "notice", :label => "Use notice?", :value => 1