1 # frozen_string_literal: true
3 class AddWriteNotesPermission < ActiveRecord::Migration[4.2]
5 add_column :oauth_tokens, :allow_write_notes, :boolean, :null => false, :default => false
6 add_column :client_applications, :allow_write_notes, :boolean, :null => false, :default => false
10 remove_column :client_applications, :allow_write_notes
11 remove_column :oauth_tokens, :allow_write_notes