class Sufia::Models::CachedStatsGenerator

Public Instance Methods

banner() click to toggle source
copy_migrations() click to toggle source

Setup the database migrations

# File lib/generators/sufia/models/cached_stats_generator.rb, line 16
def copy_migrations
  [
    'create_file_view_stats.rb',
    'create_file_download_stats.rb'
  ].each do |file|
    better_migration_template file
  end
end