scinote-web/db/migrate/20180416114040_add_team_id_to_reports.rb
2025-06-04 13:31:57 +02:00

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