mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
11 lines
364 B
Ruby
11 lines
364 B
Ruby
|
class AddForeignKeys < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_foreign_key :my_modules, :my_module_groups
|
||
|
add_foreign_key :project_comments, :comments
|
||
|
add_foreign_key :my_module_comments, :comments
|
||
|
add_foreign_key :result_assets, :results
|
||
|
add_foreign_key :result_comments, :comments
|
||
|
add_foreign_key :checklist_items, :checklists
|
||
|
end
|
||
|
end
|