classRemoveOldProjectIdColumns<ActiveRecord::MigrationincludeGitlab::Database::MigrationHelpersdisable_ddl_transaction!DOWNTIME=trueDOWNTIME_REASON='Unused columns are being removed.'defupremove_index:ci_builds,:project_idifindex_exists?(:ci_builds,:project_id)remove_column:ci_builds,:project_idremove_column:ci_commits,:project_idremove_column:ci_runner_projects,:project_idremove_column:ci_triggers,:project_idremove_column:ci_variables,:project_idenddefdownadd_column:ci_builds,:project_id,:integeradd_column:ci_commits,:project_id,:integeradd_column:ci_runner_projects,:project_id,:integeradd_column:ci_triggers,:project_id,:integeradd_column:ci_variables,:project_id,:integeradd_concurrent_index:ci_builds,:project_idendend