Check out the code: svn co trunk/generators/activity_logger_migration/templates/migration.rb