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;