mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 21:24:23 +08:00
9 lines
174 B
Ruby
9 lines
174 B
Ruby
class AddTeamIdToReports < ActiveRecord::Migration[5.1]
|
|
def up
|
|
add_reference :reports, :team, index: true
|
|
end
|
|
|
|
def down
|
|
remove_column :reports, :team
|
|
end
|
|
end
|