From 0f1b9bbbf88973b835de24fe344545644ff0767e Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 15 Aug 2010 07:19:06 -0300 Subject: [PATCH] Makes topics.written_on null => true back again some tests rely on that --- activerecord/test/cases/migration_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index 8d35f26b30..186bb55c01 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -806,6 +806,9 @@ if ActiveRecord::Base.connection.supports_migrations? Topic.connection.change_column "topics", "written_on", :datetime, :null => false Topic.reset_column_information + + Topic.connection.change_column "topics", "written_on", :datetime, :null => true + Topic.reset_column_information end end