Sha256: cdea4ac4a7465ec4c9ea7ce881f3a8b5fc1b94df4ef15eefc9550fa6e483b8fb
Contents?: true
Size: 653 Bytes
Versions: 15
Compression:
Stored size: 653 Bytes
Contents
class UpdateConfigurationJoinTables < ActiveRecord::Migration def up if column_exists? :configuration_item_types_configurations, :created_at remove_column :configuration_item_types_configurations, :created_at remove_column :configuration_item_types_configurations, :updated_at remove_column :configuration_items_configuration_options, :created_at remove_column :configuration_items_configuration_options, :updated_at add_index :configuration_item_types_configurations, [:configuration_item_type_id, :configuration_id], :unique => true, :name => 'conf_config_type_uniq_idx' end end def down end end
Version data entries
15 entries across 15 versions & 1 rubygems