aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/schema.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/schema.rb b/activerecord/lib/active_record/schema.rb
index dc854463f6..9d50efb74f 100644
--- a/activerecord/lib/active_record/schema.rb
+++ b/activerecord/lib/active_record/schema.rb
@@ -8,16 +8,16 @@ module ActiveRecord
#
# ActiveRecord::Schema.define do
# create_table :authors do |t|
- # t.column :name, :string, :null => false
+ # t.string :name, :null => false
# end
#
# add_index :authors, :name, :unique
#
# create_table :posts do |t|
- # t.column :author_id, :integer, :null => false
- # t.column :subject, :string
- # t.column :body, :text
- # t.column :private, :boolean, :default => false
+ # t.integer :author_id, :null => false
+ # t.string :subject
+ # t.text :body
+ # t.boolean :private, :default => false
# end
#
# add_index :posts, :author_id