diff options
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |