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