Skip to content
Snippets Groups Projects
Commit 71a594c6 authored by James Lopez's avatar James Lopez
Browse files

fix migration

parent db50cb18
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -2,6 +2,8 @@
class ConvertClosedToStateInMilestone < ActiveRecord::Migration
include Gitlab::Database
 
DOWNTIME = false
def up
execute "UPDATE #{table_name} SET state = 'closed' WHERE closed = #{true_value}"
execute "UPDATE #{table_name} SET state = 'active' WHERE closed = #{false_value}"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment