Skip to content

Drop deprecated column from projects table

What does this MR do?

Drops the merge_requests_require_code_owner_approval column from the projects table. Data in this column has previously been migrated (!15862 (merged)) to individual ProtectedBranches records. This migration is data-destructive, and can not be reversed.

Closes #14770 (closed) Related to #13251 (closed)

Add a description of your merge request here.

Database checklist

When adding migrations:

  • Updated db/schema.rb
  • Added a down method so the migration can be reverted
  • Added the output of the migration(s) to the MR body
  • Added tests for the migration in spec/migrations if necessary (e.g. when migrating data)
  • Added rollback procedure. Include either a rollback procedure or description how to rollback changes

When removing columns, tables, indexes or other structures:

  • Removed these in a post-deployment migration
  • Made sure the application no longer uses (or ignores) these structures
Edited by Kerri Miller

Merge request reports