mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-08 06:04:35 +08:00
7 lines
214 B
Ruby
7 lines
214 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddOriginalProtocolToSteps < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_reference :steps, :original_protocol, null: true, foreign_key: { to_table: :protocols }
|
|
end
|
|
end
|