debian-mirror-gitlab/db/migrate/20200210135504_remove_packages_deprecated_dependencies.rb
2020-03-13 15:44:24 +05:30

13 lines
296 B
Ruby

# frozen_string_literal: true
class RemovePackagesDeprecatedDependencies < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
execute('DELETE FROM packages_dependency_links WHERE dependency_type = 5')
end
def down
# There is nothing to do to reverse this migration
end
end