diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-09-12 14:04:11 -0700 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-09-12 14:04:11 -0700 |
commit | b5aed34c442550c4caad1fdca12c921d5ab9840f (patch) | |
tree | e19d1e7147070f25fcd18754211913552f99dde1 /activerecord/test/schema/schema.rb | |
parent | 0f228b420e26584e26702935135a4b099df85696 (diff) | |
parent | 3da275c4396d7fad250d2b786027ba4f14344bd4 (diff) | |
download | rails-b5aed34c442550c4caad1fdca12c921d5ab9840f.tar.gz rails-b5aed34c442550c4caad1fdca12c921d5ab9840f.tar.bz2 rails-b5aed34c442550c4caad1fdca12c921d5ab9840f.zip |
Merge pull request #7273 from beerlington/foreign_key_model_queries
Convert model name to foreign key in queries
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index b4e611cb09..798ea20efc 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -693,6 +693,7 @@ ActiveRecord::Schema.define do create_table :treasures, :force => true do |t| t.column :name, :string + t.column :type, :string t.column :looter_id, :integer t.column :looter_type, :string end |