Sha256: bfd4467cadd0986af3f0b093a472d45aabb7c522177f86484394b413d90acff3
Contents?: true
Size: 325 Bytes
Versions: 36
Compression:
Stored size: 325 Bytes
Contents
class AddEnvironmentToTemplateCombinations < ActiveRecord::Migration[4.2] def up add_reference :template_combinations, :environment, foreign_key: true unless column_exists?(:template_combinations, :environment_id) end def down remove_reference :template_combinations, :environment, foreign_key: true end end
Version data entries
36 entries across 36 versions & 1 rubygems