Fix deprecation warnings in migrations
This commit is contained in:
parent
18b8fc60bb
commit
febff23c2c
4 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ class CreateUserRoles < ActiveRecord::Migration
|
|||
t.column :user_id, :bigint, :null => false
|
||||
t.column :role, :user_role_enum, :null => false
|
||||
|
||||
t.timestamps
|
||||
t.timestamps :null => true
|
||||
end
|
||||
|
||||
User.where(:administrator => true).each do |user|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue