-class AddWriteNotesPermission < ActiveRecord::Migration
+class AddWriteNotesPermission < ActiveRecord::Migration[4.2]
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