From ce47db33665e8785f2812dd73384e3744499423b Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Mon, 8 Oct 2007 03:18:18 +0000 Subject: 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 --- activerecord/lib/active_record/migration.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'activerecord/lib') 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 -- cgit v1.2.3