aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-12-31 18:36:02 +0000
committerJon Leighton <j@jonathanleighton.com>2010-12-31 20:00:44 +0000
commit3c400627eb9cfac380d716ccf1182d61db4a45a6 (patch)
treea1b2aef349f531c40b7d4145ba0d020bc1658eeb /activerecord/test/schema
parentbea4065d3c8c8f845ddda45b3ec98e3fb308d913 (diff)
downloadrails-3c400627eb9cfac380d716ccf1182d61db4a45a6.tar.gz
rails-3c400627eb9cfac380d716ccf1182d61db4a45a6.tar.bz2
rails-3c400627eb9cfac380d716ccf1182d61db4a45a6.zip
Support for :counter_cache on polymorphic belongs_to
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 3dea7e1492..7f366b2c91 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -143,6 +143,7 @@ ActiveRecord::Schema.define do
t.text :body, :null => false
end
t.string :type
+ t.integer :taggings_count, :default => 0
end
create_table :companies, :force => true do |t|