aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 44bbb48773..bdf128aecc 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -208,6 +208,8 @@ ActiveRecord::Schema.define do
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;