class Doorkeeper::ConfidentialApplicationsGenerator


applications table.
Generates migration to add confidential column to Doorkeeper

def self.next_migration_number(dirname)

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

def confidential_applications

def confidential_applications
  migration_template(
    "add_confidential_to_applications.rb.erb",
    "db/migrate/add_confidential_to_applications.rb",
    migration_version: migration_version,
  )
end

def migration_version

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