canvas-lms/db/migrate/20150507024319_drop_ldap_au...

14 lines
409 B
Ruby

class DropLdapAuthSettingsFromAacs < ActiveRecord::Migration
tag :postdeploy
def up
remove_column :account_authorization_configs, :login_handle_name
remove_column :account_authorization_configs, :change_password_url
end
def down
add_column :account_authorization_configs, :login_handle_name, :string
add_column :account_authorization_configs, :change_password_url, :string
end
end