applicake/doorkeeper

View on GitHub
lib/generators/doorkeeper/templates/enable_pkce_migration.rb.erb

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

class EnablePkce < ActiveRecord::Migration<%= migration_version %>
  def change
    add_column :oauth_access_grants, :code_challenge, :string, null: true
    add_column :oauth_access_grants, :code_challenge_method, :string, null: true
  end
end