Commit 9cf23182 authored by Steve Abrams's avatar Steve Abrams

Remove file_type from package_files table

Migration to remove unused column file_type from
packages_package_files table
parent 2665e40c
---
title: Remove unused file_type column from packages_package_files
merge_request: 26527
author:
type: changed
# frozen_string_literal: true
class RemoveFileTypeFromPackagesPackageFiles < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
remove_column :packages_package_files, :file_type, :integer
end
end
......@@ -3025,7 +3025,6 @@ ActiveRecord::Schema.define(version: 2020_03_06_170531) do
t.datetime_with_timezone "created_at", null: false
t.datetime_with_timezone "updated_at", null: false
t.bigint "size"
t.integer "file_type"
t.integer "file_store"
t.binary "file_md5"
t.binary "file_sha1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment