Sha256: 22a9e7b9e2e2ebab258b816597a4462f7cedbe86e17dcbf994261d2ce3eaf5a3

Contents?: true

Size: 843 Bytes

Versions: 2

Compression:

Stored size: 843 Bytes

Contents

namespace :rapidfire do
  namespace :upgrade do
    namespace :migrations do
      desc "Renaming rapidfire_answer_groups to rapidfire_attempts and rapidfire_question_groups to surveys"
      task from210to300: :environment do
        `rails generate rapidfire:upgrade_migration`
      end

      desc "Adding multitenancy support to Rapidfire"
      task multitenancy: :environment do
        `rails generate rapidfire:multitenant_migration`
      end

      desc "Adds a field to show the user after they take a survey"
      task after_survey_page: :environment do
        `rails generate rapidfire:after_survey_content_migration`
      end

      desc "Adds a field to make a survey active/inactive"
      task active_inactive_surveys: :environment do
        `rails generate rapidfire:active_survey_migration`
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rapidfire-8.0.0 lib/tasks/rapidfire.rake
rapidfire-5.0.0 lib/tasks/rapidfire.rake