a11yist/db/migrate/20250101163835_add_guideline_id_to_checks.rb
david 4dd445be57
Some checks failed
/ Run tests (push) Successful in 7m57s
/ Run system tests (push) Failing after 4m18s
/ Build, push and deploy image (push) Failing after 59s
wip: wcag structure
2025-05-16 19:02:33 +02:00

6 lines
194 B
Ruby

class AddGuidelineIdToChecks < ActiveRecord::Migration[8.0]
def change
add_reference :checks, :guideline, null: false, foreign_key: true
remove_reference :checks, :principle
end
end