Change user_id column non-nullable (#6435)
This commit is contained in:
committed by
Eugen Rochko
parent
95c8232109
commit
67f7ffa792
6
db/migrate/20180206000000_change_user_id_nonnullable.rb
Normal file
6
db/migrate/20180206000000_change_user_id_nonnullable.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class ChangeUserIdNonnullable < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
change_column_null :invites, :user_id, false
|
||||
change_column_null :web_settings, :user_id, false
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user