Commit 0715abaf24aeaf4ed66d61d7978be04008d25070

Authored by Dmitriy Zaporozhets
1 parent 211c433c

migrate milestones with nil state

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
lib/tasks/migrate/migrate_milestones.rake 0 → 100644
... ... @@ -0,0 +1,4 @@
  1 +desc "GITLAB | Migrate Milestones"
  2 +task migrate_milestones: :environment do
  3 + Milestone.where(state: nil).update_all(state: 'active')
  4 +end
... ...