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