mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 09:28:37 +08:00
6 lines
156 B
Ruby
6 lines
156 B
Ruby
|
class AddExperimentToActivities < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_reference :activities, :experiment, index: true, foreign_key: true
|
||
|
end
|
||
|
end
|