Fix Rails 5.0 deprecation warning
This commit is contained in:
parent
4f08923a76
commit
b62660a663
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue