Project

General

Profile

Download (232 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddUniqueConstraintsToFactValues < ActiveRecord::Migration
def up
add_index(:fact_values, [:fact_name_id, :host_id], :unique => true)
end

def down
remove_index(:fact_values, [:fact_name_id, :host_id])
end
end
(154-154/286)