Permalink
Browse files

Add posts.comments_count for other databases. Closes #10804.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent aecb7fb commit 859ca3a1ea23684c02c39de057e1810b05bd6a46 @jeremy jeremy committed Jan 28, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 activerecord/test/schema/schema.rb
@@ -208,6 +208,8 @@
add FOREIGN KEY (`fk_id`) REFERENCES `fk_test_has_pk`(`id`)'
+ else
+ add_column :posts, :comments_count, :integer, :default => 0
end
# For Firebird, set the sequence values 10000 when create_table is called;

0 comments on commit 859ca3a

Please sign in to comment.