diff options
author | Marcel Molina <marcel@vernix.org> | 2007-11-06 18:26:54 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2007-11-06 18:26:54 +0000 |
commit | 026973f6a06f97b265eb61baa299d3a8f3f737f6 (patch) | |
tree | fc482012126957d77e24e43b3141556d0e98f3b7 /activerecord/lib/active_record | |
parent | 9a8d583a910f81bc9241ed19abc6e01b4728a766 (diff) | |
download | rails-026973f6a06f97b265eb61baa299d3a8f3f737f6.tar.gz rails-026973f6a06f97b265eb61baa299d3a8f3f737f6.tar.bz2 rails-026973f6a06f97b265eb61baa299d3a8f3f737f6.zip |
Update Schema documentation to use updated sexy migration notation. Closes #10086 [sjgman9]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/schema.rb | 10 |
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 |