a11yist/db/migrate/20241026170258_add_uniq_index_to_checks_standards.rb

6 lines
163 B
Ruby
Raw Normal View History

2024-10-26 19:13:20 +02:00
class AddUniqIndexToChecksStandards < ActiveRecord::Migration[7.2]
def change
add_index :checks_standards, [:check_id, :standard_id], unique: true
end
end