diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-15 07:19:06 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-15 07:19:06 -0300 |
commit | bcd62cdafd11daf7fb43946db9832f08ddb2b622 (patch) | |
tree | 77186d44899f7b26c844cb6b93f1d80e35e55b45 /activerecord | |
parent | 3c2fcacc855c41831efb053f4d35c4c791660f39 (diff) | |
download | rails-bcd62cdafd11daf7fb43946db9832f08ddb2b622.tar.gz rails-bcd62cdafd11daf7fb43946db9832f08ddb2b622.tar.bz2 rails-bcd62cdafd11daf7fb43946db9832f08ddb2b622.zip |
Makes topics.written_on null => true back again some tests rely on that
Diffstat (limited to 'activerecord')
-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 |