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

fix migration failure

parent 19177205
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -2,6 +2,8 @@
class ConvertClosedToStateInIssue < 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 = 'opened' 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