5 lines
163 B
Ruby
5 lines
163 B
Ruby
class AddUniqIndexToChecksStandards < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_index :checks_standards, [:check_id, :standard_id], unique: true
|
|
end
|
|
end
|