class Doorkeeper::PkceGenerator


Doorkeeper tables.
Generates migration with PKCE required database columns for

def self.next_migration_number(dirname)

def self.next_migration_number(dirname)
  ActiveRecord::Generators::Base.next_migration_number(dirname)
end

def migration_version

def migration_version
  "[#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}]"
end

def pkce

def pkce
  migration_template(
    "enable_pkce_migration.rb.erb",
    "db/migrate/enable_pkce.rb",
    migration_version: migration_version,
  )
end