migrate milestones with nil state
This commit is contained in:
parent
211c433cd8
commit
0715abaf24
1 changed files with 4 additions and 0 deletions
4
lib/tasks/migrate/migrate_milestones.rake
Normal file
4
lib/tasks/migrate/migrate_milestones.rake
Normal file
|
@ -0,0 +1,4 @@
|
|||
desc "GITLAB | Migrate Milestones"
|
||||
task migrate_milestones: :environment do
|
||||
Milestone.where(state: nil).update_all(state: 'active')
|
||||
end
|
Loading…
Reference in a new issue