aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/migration_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/migration_test.rb b/activerecord/test/migration_test.rb
index 997d149737..00081dca56 100644
--- a/activerecord/test/migration_test.rb
+++ b/activerecord/test/migration_test.rb
@@ -461,8 +461,8 @@ if ActiveRecord::Base.connection.supports_migrations?
end
end
- unless current_adapter?(:SQLiteAdapter)
def test_change_column_nullability
+ Person.delete_all
Person.connection.add_column "people", "funny", :boolean
Person.reset_column_information
assert Person.columns_hash["funny"].null, "Column 'funny' must initially allow nulls"
@@ -473,7 +473,6 @@ if ActiveRecord::Base.connection.supports_migrations?
Person.reset_column_information
assert Person.columns_hash["funny"].null, "Column 'funny' must allow nulls again at this point"
end
- end
def test_rename_table_with_an_index
begin