5 lines
131 B
Ruby
5 lines
131 B
Ruby
class AddParentToDocument < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_reference :documents, :parent, index: true
|
|
end
|
|
end
|