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