a11yist/db/migrate/20250101163835_add_guideline_id_to_checks.rb

7 lines
194 B
Ruby
Raw Permalink Normal View History

2025-05-16 19:02:33 +02:00
class AddGuidelineIdToChecks < ActiveRecord::Migration[8.0]
def change
add_reference :checks, :guideline, null: false, foreign_key: true
remove_reference :checks, :principle
end
end