aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-01-19 05:30:42 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-01-19 05:30:42 +0000
commit16b129a68ca1770815107a3edb54090282349ba7 (patch)
treefedc506d08a766066a829ae8efa3d691cc719aff /activerecord/test/schema/schema.rb
parentf95ff8d4dc37ced3b4493ad628e3ff7e5d950efd (diff)
downloadrails-16b129a68ca1770815107a3edb54090282349ba7.tar.gz
rails-16b129a68ca1770815107a3edb54090282349ba7.tar.bz2
rails-16b129a68ca1770815107a3edb54090282349ba7.zip
belongs_to supports :dependent => :destroy and :delete. Closes #10592.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 2d187a601a..307ad8b935 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -239,9 +239,9 @@ ActiveRecord::Schema.define do
add_column :posts, :taggings_count, :integer, :default => 0
add_column :authors, :author_address_id, :integer
+ add_column :authors, :author_address_extra_id, :integer
create_table :author_addresses, :force => true do |t|
- t.column :author_address_id, :integer
end
create_table :author_favorites, :force => true do |t|