Add references between projects and todos
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2025-10-27 13:48:15 +01:00
parent 871377a90b
commit 9f42deee95
8 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class AddProjectIdToTodos < ActiveRecord::Migration[8.1]
def change
add_reference :todos, :project, null: false, foreign_key: true
end
end