Sha256: 9d214a04b0778b0a961780ae6ac7b9b8399b3bd6aa4ee75ac4cc429bbc207b2c
Contents?: true
Size: 468 Bytes
Versions: 20
Compression:
Stored size: 468 Bytes
Contents
require 'rails/generators/active_record' class Doorkeeper::MigrationGenerator < ::Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) desc "Installs Doorkeeper migration file." def install migration_template 'migration.rb', 'db/migrate/create_doorkeeper_tables.rb' end def self.next_migration_number(dirname) ActiveRecord::Generators::Base.next_migration_number(dirname) end end
Version data entries
20 entries across 20 versions & 1 rubygems