namespace :consul do
  desc "Runs tasks needed to upgrade to the latest version"
  task execute_release_tasks: "execute_release_1.0.0_tasks"

  desc "Runs tasks needed to upgrade from 1.0.0-beta to 1.0.0"
  task "execute_release_1.0.0_tasks": [
    "poll:generate_slugs",
    "stats_and_results:migrate_to_reports",
    "budgets:calculate_ballot_lines",
    "settings:remove_deprecated_settings",
    "stats:generate"
  ]
end

Add task to upgrade to version 1.0.0
Add task to upgrade to version 1.0.0

It includes every task needed for the upgrade.
