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