aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@basecamp.com>2014-08-17 18:12:52 -0700
committerDavid Heinemeier Hansson <david@basecamp.com>2014-08-17 18:12:52 -0700
commit7ee055076ec2c5b2e9c110f821c10fe06bf38a1c (patch)
treede7578ca9afadfb05ea45134c2ae1d053aba0d26 /activerecord/test/cases/migration_test.rb
parenteced6f81184a67fc47ecb78e802d82a7234ae23d (diff)
parentea3ba34506c72d636096245016b5ef9cfe27c566 (diff)
downloadrails-7ee055076ec2c5b2e9c110f821c10fe06bf38a1c.tar.gz
rails-7ee055076ec2c5b2e9c110f821c10fe06bf38a1c.tar.bz2
rails-7ee055076ec2c5b2e9c110f821c10fe06bf38a1c.zip
Merge pull request #16481 from sgrif/sg-change-default-timestamps
Change the default `null` value for timestamps
Diffstat (limited to 'activerecord/test/cases/migration_test.rb')
-rw-r--r--activerecord/test/cases/migration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index ef3f073472..11338e1fb6 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -561,7 +561,7 @@ if ActiveRecord::Base.connection.supports_bulk_alter?
t.string :qualification, :experience
t.integer :age, :default => 0
t.date :birthdate
- t.timestamps
+ t.timestamps null: true
end
end