Skip to content

Remove file_type from package_files table

Steve Abrams requested to merge 197480-remove-package-file_type into master

What does this MR do?

Step 2 in dropping a column

This MR removes the unused file_type column from packages_package_files

Step 1 of the process was completed in !24534 (merged)

Database info

Post deployment migration run locally:

== 20200304211738 RemoveFileTypeFromPackagesPackageFiles: migrating ===========
-- remove_column(:packages_package_files, :file_type, :integer)
   -> 0.0031s
== 20200304211738 RemoveFileTypeFromPackagesPackageFiles: migrated (0.0032s) ==

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related #197480 (closed)

Edited by Steve Abrams

Merge request reports