Permalink
Browse files

Change Migration documentation to use the new syntax. Closes #9813 [s…

…jgman9]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 210ecae commit ce47db33665e8785f2812dd73384e3744499423b @NZKoz NZKoz committed Oct 8, 2007
Showing with 5 additions and 5 deletions.
  1. +5 −5 activerecord/lib/active_record/migration.rb
@@ -36,11 +36,11 @@ def initialize(version)
# 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

0 comments on commit ce47db3

Please sign in to comment.