Fix Rails 5.0 deprecation warning

This commit is contained in:
Jon Atack 2014-09-23 14:06:43 +02:00
parent 4f08923a76
commit b62660a663
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ module Schema
t.string :only_admin
t.integer :salary
t.boolean :awesome, default: false
t.timestamps
t.timestamps null: false
end
create_table :articles, :force => true do |t|