Sha256: 9b1a80e326837a3244f8312c652c356402ff65ddfff8fae586d19169133c817c
Contents?: true
Size: 522 Bytes
Versions: 7
Compression:
Stored size: 522 Bytes
Contents
require 'rails/generators/active_record' class Doorkeeper::ApplicationOwnerGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) desc 'Provide support for client application ownership.' def application_owner migration_template 'add_owner_to_application_migration.rb', 'db/migrate/add_owner_to_application.rb' end def self.next_migration_number(dirname) ActiveRecord::Generators::Base.next_migration_number(dirname) end end
Version data entries
7 entries across 7 versions & 1 rubygems