Create a new comment instead of a new annotation with the same ranges
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class AddRangesFieldsToLegislationAnnotations < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :legislation_annotations, :range_start, :string
|
||||
add_column :legislation_annotations, :range_start_offset, :integer
|
||||
add_column :legislation_annotations, :range_end, :string
|
||||
add_column :legislation_annotations, :range_end_offset, :integer
|
||||
|
||||
add_index :legislation_annotations, [:range_start, :range_end]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user