mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
5 lines
161 B
Ruby
5 lines
161 B
Ruby
class AddExperimentToActivities < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_reference :activities, :experiment, index: true, foreign_key: true
|
|
end
|
|
end
|