Skip to content

Fix a test rake db:rollback: in .gitlab-ci.yml

What does this MR do?

  • Fix feasible migration files to make it possible to rollback, such as

from

def change
     remove_column :projects, :main_language
end

to

def up
  remove_column :projects, :main_language
end

def down
  add_column :projects, :main_language, :string
end

And the first and difficult migration file (20160412173417) appear before 215 steps from the latest migration file(20170402231018).

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #29656 (closed)

Merge request reports

Loading