7 lines
207 B
Ruby
7 lines
207 B
Ruby
class AddLegislationIdToAnnotations < ActiveRecord::Migration
|
|
def change
|
|
remove_reference :annotations, :proposal
|
|
add_reference :annotations, :legislation, index: true, foreign_key: true
|
|
end
|
|
end
|