aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorSzymon Nowak <szimek@gmail.com>2009-08-13 21:18:43 +0200
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-23 15:19:17 -0800
commit85683f2a79dbf81130361cb6426786cf6b0d1925 (patch)
treec802a675983c3a7cb9d3a31ae8adf63d1baca0ca /activerecord/test/schema
parentb79823832e6cd30a9f14f97ffdf1642d4d63d4ea (diff)
downloadrails-85683f2a79dbf81130361cb6426786cf6b0d1925.tar.gz
rails-85683f2a79dbf81130361cb6426786cf6b0d1925.tar.bz2
rails-85683f2a79dbf81130361cb6426786cf6b0d1925.zip
Fix creation of has_many through records with custom primary_key option on belongs_to [#2990 state:resolved]
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 99761a4160..3dea7e1492 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -110,6 +110,7 @@ ActiveRecord::Schema.define do
create_table :categorizations, :force => true do |t|
t.column :category_id, :integer
+ t.string :named_category_name
t.column :post_id, :integer
t.column :author_id, :integer
t.column :special, :boolean