-class AddWriteNotesPermission < ActiveRecord::Migration
+class AddWriteNotesPermission < ActiveRecord::Migration[5.0]
def up
add_column :oauth_tokens, :allow_write_notes, :boolean, :null => false, :default => false
add_column :client_applications, :allow_write_notes, :boolean, :null => false, :default => false