Sha256: a1dd428a1010390990594c1e331e1197a8841e33f4d6684aab1cb31096824d4e
Contents?: true
Size: 356 Bytes
Versions: 25
Compression:
Stored size: 356 Bytes
Contents
class DropEnvironmentFromHostAndHg < ActiveRecord::Migration[6.0] def up remove_column(:hostgroups, :environment_id) if column_exists?(:hostgroups, :environment_id) remove_column(:hosts, :environment_id) if column_exists?(:hosts, :environment_id) end # This is just to clean up core, we do not want to add the columns again on uninstall end
Version data entries
25 entries across 25 versions & 1 rubygems